From a2b8dde5e6d0a6e9c81a6b3d4bebe5177dc7899a Mon Sep 17 00:00:00 2001 From: James Wilson Date: Fri, 31 Mar 2023 16:56:19 +0100 Subject: [PATCH] Add 'Static' type and improve type substitution codegen to accept it (#886) * Add Static type which defers to Encode/Decode and impls EncodeAsType/DecodeAsType * rename to static_type and impl Deref/Mut * Improve type substitution in codegen so that concrete types can be swapped in * A couple of comment tweaks and no need for a macro export * Extend type substitution logic to work recursively on destination type * cargo fmt * Fix a couple of comments * update ui test outpuot * Add docs and missing_docs lint * Add test for replacing multiple of Ident * Update codegen/src/error.rs Co-authored-by: Niklas Adolfsson * update copyright year and fix ui test * simplify another error --------- Co-authored-by: Niklas Adolfsson --- FILE_TEMPLATE | 2 +- LICENSE | 2 +- cli/src/commands/codegen.rs | 37 +- cli/src/commands/compatibility.rs | 2 +- cli/src/commands/metadata.rs | 2 +- cli/src/commands/mod.rs | 2 +- cli/src/main.rs | 2 +- codegen/src/api/calls.rs | 2 +- codegen/src/api/constants.rs | 2 +- codegen/src/api/events.rs | 2 +- codegen/src/api/mod.rs | 67 +- codegen/src/api/storage.rs | 8 +- codegen/src/error.rs | 123 + codegen/src/ir.rs | 4 +- codegen/src/lib.rs | 8 +- codegen/src/types/composite_def.rs | 4 +- codegen/src/types/derives.rs | 12 +- codegen/src/types/mod.rs | 22 +- codegen/src/types/substitutes.rs | 383 +- codegen/src/types/tests.rs | 2 +- codegen/src/types/type_def.rs | 4 +- codegen/src/types/type_def_params.rs | 2 +- codegen/src/types/type_path.rs | 54 +- codegen/src/utils/fetch_metadata.rs | 42 +- codegen/src/utils/mod.rs | 8 +- examples/examples/balance_transfer.rs | 2 +- .../examples/balance_transfer_with_params.rs | 2 +- .../examples/concurrent_storage_requests.rs | 2 +- examples/examples/custom_config.rs | 2 +- examples/examples/custom_metadata_url.rs | 2 +- examples/examples/custom_rpc_client.rs | 2 +- examples/examples/custom_type_derives.rs | 2 +- examples/examples/dynamic_multisig.rs | 2 +- examples/examples/dynamic_queries.rs | 2 +- examples/examples/fetch_all_accounts.rs | 2 +- examples/examples/fetch_constants.rs | 2 +- examples/examples/fetch_staking_details.rs | 2 +- examples/examples/metadata_compatibility.rs | 2 +- examples/examples/multisig.rs | 2 +- examples/examples/rpc_call.rs | 2 +- .../examples/rpc_call_subscribe_blocks.rs | 2 +- examples/examples/runtime_types_only.rs | 2 +- examples/examples/storage_iterating.rs | 2 +- examples/examples/submit_and_watch.rs | 2 +- examples/examples/subscribe_block_events.rs | 2 +- examples/examples/subscribe_blocks.rs | 2 +- .../examples/subscribe_runtime_updates.rs | 2 +- macro/src/lib.rs | 26 +- metadata/benches/bench.rs | 2 +- metadata/src/lib.rs | 2 +- subxt/src/blocks/block_types.rs | 2 +- subxt/src/blocks/blocks_client.rs | 2 +- subxt/src/blocks/mod.rs | 2 +- subxt/src/client/mod.rs | 2 +- subxt/src/client/offline_client.rs | 2 +- subxt/src/client/online_client.rs | 2 +- subxt/src/config/extrinsic_params.rs | 2 +- subxt/src/config/mod.rs | 2 +- subxt/src/config/polkadot.rs | 2 +- subxt/src/config/substrate.rs | 2 +- subxt/src/constants/constant_address.rs | 2 +- subxt/src/constants/constants_client.rs | 2 +- subxt/src/constants/mod.rs | 2 +- subxt/src/dynamic.rs | 2 +- subxt/src/error/dispatch_error.rs | 2 +- subxt/src/error/mod.rs | 2 +- subxt/src/events/events_client.rs | 2 +- subxt/src/events/events_type.rs | 2 +- subxt/src/events/mod.rs | 2 +- subxt/src/lib.rs | 2 +- subxt/src/metadata/decode_encode_traits.rs | 2 +- subxt/src/metadata/hash_cache.rs | 2 +- subxt/src/metadata/metadata_location.rs | 2 +- subxt/src/metadata/metadata_type.rs | 2 +- subxt/src/metadata/mod.rs | 2 +- subxt/src/rpc/jsonrpsee_impl.rs | 2 +- subxt/src/rpc/mod.rs | 2 +- subxt/src/rpc/rpc.rs | 2 +- subxt/src/rpc/rpc_client.rs | 2 +- subxt/src/rpc/rpc_client_t.rs | 2 +- subxt/src/rpc/types.rs | 2 +- subxt/src/runtime_api/mod.rs | 2 +- subxt/src/runtime_api/runtime_client.rs | 2 +- subxt/src/runtime_api/runtime_types.rs | 2 +- subxt/src/storage/mod.rs | 5 +- subxt/src/storage/storage_address.rs | 27 +- subxt/src/storage/storage_client.rs | 2 +- subxt/src/storage/storage_type.rs | 2 +- subxt/src/storage/utils.rs | 2 +- subxt/src/tx/mod.rs | 2 +- subxt/src/tx/signer.rs | 2 +- subxt/src/tx/tx_client.rs | 2 +- subxt/src/tx/tx_payload.rs | 2 +- subxt/src/tx/tx_progress.rs | 2 +- subxt/src/utils/account_id.rs | 2 +- subxt/src/utils/bits.rs | 2 +- subxt/src/utils/mod.rs | 4 +- subxt/src/utils/multi_address.rs | 2 +- subxt/src/utils/multi_signature.rs | 2 +- subxt/src/utils/static_type.rs | 78 + subxt/src/utils/wrapper_opaque.rs | 2 +- testing/integration-tests/src/blocks/mod.rs | 2 +- testing/integration-tests/src/client/mod.rs | 2 +- .../src/codegen/codegen_documentation.rs | 2 +- testing/integration-tests/src/codegen/mod.rs | 2 +- .../integration-tests/src/codegen/polkadot.rs | 10044 ++++++++-------- .../integration-tests/src/frame/balances.rs | 2 +- .../integration-tests/src/frame/contracts.rs | 2 +- testing/integration-tests/src/frame/mod.rs | 2 +- .../integration-tests/src/frame/staking.rs | 2 +- testing/integration-tests/src/frame/sudo.rs | 2 +- testing/integration-tests/src/frame/system.rs | 2 +- .../integration-tests/src/frame/timestamp.rs | 2 +- testing/integration-tests/src/lib.rs | 2 +- testing/integration-tests/src/metadata/mod.rs | 2 +- .../src/metadata/validation.rs | 2 +- testing/integration-tests/src/storage/mod.rs | 2 +- .../integration-tests/src/utils/context.rs | 2 +- testing/integration-tests/src/utils/mod.rs | 2 +- .../integration-tests/src/utils/node_proc.rs | 2 +- .../src/utils/wait_for_blocks.rs | 2 +- testing/test-runtime/build.rs | 2 +- testing/test-runtime/src/lib.rs | 2 +- .../{generic-params.rs => generic_params.rs} | 70 +- ...s-preserved.rs => rust_items_preserved.rs} | 0 testing/ui-tests/src/dispatch_errors.rs | 2 +- .../substitute_path_not_absolute.stderr | 2 +- testing/ui-tests/src/lib.rs | 2 +- testing/ui-tests/src/storage.rs | 2 +- testing/ui-tests/src/utils/dispatch_error.rs | 2 +- .../src/utils/metadata_test_runner.rs | 2 +- testing/ui-tests/src/utils/mod.rs | 2 +- 132 files changed, 5809 insertions(+), 5441 deletions(-) create mode 100644 codegen/src/error.rs create mode 100644 subxt/src/utils/static_type.rs rename testing/ui-tests/src/correct/{generic-params.rs => generic_params.rs} (51%) rename testing/ui-tests/src/correct/{rust-items-preserved.rs => rust_items_preserved.rs} (100%) diff --git a/FILE_TEMPLATE b/FILE_TEMPLATE index 37cc025e9a..7ced87a3cb 100644 --- a/FILE_TEMPLATE +++ b/FILE_TEMPLATE @@ -1,3 +1,3 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/LICENSE b/LICENSE index bcc24ca6f1..374f946387 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright 2019-2022 Parity Technologies (UK) Ltd. +Copyright 2019-2023 Parity Technologies (UK) Ltd. This program is free software: you can redistribute it and/or modify it under the terms of (at your option) either the Apache License, diff --git a/cli/src/commands/codegen.rs b/cli/src/commands/codegen.rs index 3137b28029..cd61dc8bb0 100644 --- a/cli/src/commands/codegen.rs +++ b/cli/src/commands/codegen.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. @@ -6,7 +6,7 @@ use clap::Parser as ClapParser; use color_eyre::eyre; use jsonrpsee::client_transport::ws::Uri; use std::{fs, io::Read, path::PathBuf}; -use subxt_codegen::{DerivesRegistry, TypeSubstitutes}; +use subxt_codegen::{DerivesRegistry, TypeSubstitutes, TypeSubstitutionError}; /// Generate runtime API client code from metadata. /// @@ -29,6 +29,11 @@ pub struct Opts { /// Example `--derive-for-type my_module::my_type=serde::Serialize`. #[clap(long = "derive-for-type", value_parser = derive_for_type_parser)] derives_for_type: Vec<(String, String)>, + /// Substitute a type for another. + /// + /// Example `--substitute-type sp_runtime::MultiAddress=subxt::utils::Static<::sp_runtime::MultiAddress>` + #[clap(long = "substitute-type", value_parser = substitute_type_parser)] + substitute_types: Vec<(String, String)>, /// The `subxt` crate access path in the generated code. /// Defaults to `::subxt`. #[clap(long = "crate")] @@ -51,6 +56,14 @@ fn derive_for_type_parser(src: &str) -> Result<(String, String), String> { Ok((ty.to_string(), derive.to_string())) } +fn substitute_type_parser(src: &str) -> Result<(String, String), String> { + let (from, to) = src + .split_once('=') + .ok_or_else(|| String::from("Invalid pattern for `substitute-type`. It should be something like `input::Type=replacement::Type`"))?; + + Ok((from.to_string(), to.to_string())) +} + pub async fn run(opts: Opts) -> color_eyre::Result<()> { let bytes = if let Some(file) = opts.file.as_ref() { if opts.url.is_some() { @@ -74,6 +87,7 @@ pub async fn run(opts: Opts) -> color_eyre::Result<()> { &bytes, opts.derives, opts.derives_for_type, + opts.substitute_types, opts.crate_path, opts.no_docs, opts.runtime_types_only, @@ -85,6 +99,7 @@ fn codegen( metadata_bytes: &[u8], raw_derives: Vec, derives_for_type: Vec<(String, String)>, + substitute_types: Vec<(String, String)>, crate_path: Option, no_docs: bool, runtime_types_only: bool, @@ -102,13 +117,25 @@ fn codegen( let mut derives = DerivesRegistry::new(&crate_path); derives.extend_for_all(p.into_iter()); - for (ty, derive) in derives_for_type.into_iter() { + for (ty, derive) in derives_for_type { let ty = syn::parse_str(&ty)?; let derive = syn::parse_str(&derive)?; - derives.extend_for_type(ty, std::iter::once(derive), &crate_path) + derives.extend_for_type(ty, std::iter::once(derive), &crate_path); } - let type_substitutes = TypeSubstitutes::new(&crate_path); + let mut type_substitutes = TypeSubstitutes::new(&crate_path); + for (from_str, to_str) in substitute_types { + let from: syn::Path = syn::parse_str(&from_str)?; + let to: syn::Path = syn::parse_str(&to_str)?; + let to = to.try_into().map_err(|e: TypeSubstitutionError| { + eyre::eyre!("Cannot parse substitute '{from_str}={to_str}': {e}") + })?; + type_substitutes + .insert(from, to) + .map_err(|e: TypeSubstitutionError| { + eyre::eyre!("Cannot parse substitute '{from_str}={to_str}': {e}") + })?; + } let should_gen_docs = !no_docs; let runtime_api = subxt_codegen::generate_runtime_api_from_bytes( diff --git a/cli/src/commands/compatibility.rs b/cli/src/commands/compatibility.rs index 849c40adab..a3860487be 100644 --- a/cli/src/commands/compatibility.rs +++ b/cli/src/commands/compatibility.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/cli/src/commands/metadata.rs b/cli/src/commands/metadata.rs index 46f7c5cae6..150220ff8c 100644 --- a/cli/src/commands/metadata.rs +++ b/cli/src/commands/metadata.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/cli/src/commands/mod.rs b/cli/src/commands/mod.rs index 4ff1876522..15660ac122 100644 --- a/cli/src/commands/mod.rs +++ b/cli/src/commands/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/cli/src/main.rs b/cli/src/main.rs index a56e8b55d0..54b2247fea 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/codegen/src/api/calls.rs b/codegen/src/api/calls.rs index b9905e0574..d7a714ae54 100644 --- a/codegen/src/api/calls.rs +++ b/codegen/src/api/calls.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/codegen/src/api/constants.rs b/codegen/src/api/constants.rs index b75c2880a2..b0ed167dc5 100644 --- a/codegen/src/api/constants.rs +++ b/codegen/src/api/constants.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/codegen/src/api/events.rs b/codegen/src/api/events.rs index 12334f6d31..8975cf5258 100644 --- a/codegen/src/api/events.rs +++ b/codegen/src/api/events.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/codegen/src/api/mod.rs b/codegen/src/api/mod.rs index ecda5ee512..9c800ed73e 100644 --- a/codegen/src/api/mod.rs +++ b/codegen/src/api/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. @@ -12,80 +12,21 @@ mod storage; use subxt_metadata::get_metadata_per_pallet_hash; use super::DerivesRegistry; +use crate::error::CodegenError; use crate::{ ir, types::{CompositeDef, CompositeDefFields, TypeGenerator, TypeSubstitutes}, - utils::{fetch_metadata_bytes_blocking, FetchMetadataError, Uri}, + utils::{fetch_metadata_bytes_blocking, Uri}, CratePath, }; use codec::Decode; use frame_metadata::{v14::RuntimeMetadataV14, RuntimeMetadata, RuntimeMetadataPrefixed}; use heck::ToSnakeCase as _; -use proc_macro2::{Span, TokenStream as TokenStream2}; +use proc_macro2::TokenStream as TokenStream2; use quote::{format_ident, quote}; use std::{fs, io::Read, path, string::ToString}; use syn::parse_quote; -/// Error returned when the Codegen cannot generate the runtime API. -#[derive(Debug, thiserror::Error)] -pub enum CodegenError { - /// The given metadata type could not be found. - #[error("Could not find type with ID {0} in the type registry; please raise a support issue.")] - TypeNotFound(u32), - /// Cannot fetch the metadata bytes. - #[error("Failed to fetch metadata, make sure that you're pointing at a node which is providing V14 metadata: {0}")] - Fetch(#[from] FetchMetadataError), - /// Failed IO for the metadata file. - #[error("Failed IO for {0}, make sure that you are providing the correct file path for metadata V14: {1}")] - Io(String, std::io::Error), - /// Cannot decode the metadata bytes. - #[error("Could not decode metadata, only V14 metadata is supported: {0}")] - Decode(#[from] codec::Error), - /// Out of line modules are not supported. - #[error("Out-of-line subxt modules are not supported, make sure you are providing a body to your module: pub mod polkadot {{ ... }}")] - InvalidModule(Span), - /// Expected named or unnamed fields. - #[error("Fields should either be all named or all unnamed, make sure you are providing a valid metadata V14: {0}")] - InvalidFields(String), - /// Substitute types must have a valid path. - #[error("Substitute types must have a valid path")] - EmptySubstitutePath(Span), - /// Invalid type path. - #[error("Invalid type path {0}: {1}")] - InvalidTypePath(String, syn::Error), - /// Metadata for constant could not be found. - #[error("Metadata for constant entry {0}_{1} could not be found. Make sure you are providing a valid metadata V14")] - MissingConstantMetadata(String, String), - /// Metadata for storage could not be found. - #[error("Metadata for storage entry {0}_{1} could not be found. Make sure you are providing a valid metadata V14")] - MissingStorageMetadata(String, String), - /// Metadata for call could not be found. - #[error("Metadata for call entry {0}_{1} could not be found. Make sure you are providing a valid metadata V14")] - MissingCallMetadata(String, String), - /// Call variant must have all named fields. - #[error("Call variant for type {0} must have all named fields. Make sure you are providing a valid metadata V14")] - InvalidCallVariant(u32), - /// Type should be an variant/enum. - #[error( - "{0} type should be an variant/enum type. Make sure you are providing a valid metadata V14" - )] - InvalidType(String), -} - -impl CodegenError { - /// Render the error as an invocation of syn::compile_error!. - pub fn into_compile_error(self) -> TokenStream2 { - let msg = self.to_string(); - let span = match self { - Self::InvalidModule(span) => span, - Self::EmptySubstitutePath(span) => span, - Self::InvalidTypePath(_, err) => err.span(), - _ => proc_macro2::Span::call_site(), - }; - syn::Error::new(span, msg).into_compile_error() - } -} - /// Generates the API for interacting with a Substrate runtime. /// /// # Arguments diff --git a/codegen/src/api/storage.rs b/codegen/src/api/storage.rs index 759a74ccf3..55d2f058e0 100644 --- a/codegen/src/api/storage.rs +++ b/codegen/src/api/storage.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. @@ -92,7 +92,7 @@ fn generate_storage_entry_fns( let keys = fields .iter() .map(|(field_name, _)| { - quote!( #crate_path::storage::address::StaticStorageMapKey::new(#field_name.borrow()) ) + quote!( #crate_path::storage::address::make_static_storage_map_key(#field_name.borrow()) ) }); let key_impl = quote! { vec![ #( #keys ),* ] @@ -105,7 +105,7 @@ fn generate_storage_entry_fns( let ty_path = type_gen.resolve_type_path(key.id()); let fields = vec![(format_ident!("_0"), ty_path)]; let key_impl = quote! { - vec![ #crate_path::storage::address::StaticStorageMapKey::new(_0.borrow()) ] + vec![ #crate_path::storage::address::make_static_storage_map_key(_0.borrow()) ] }; (fields, key_impl) } @@ -134,7 +134,7 @@ fn generate_storage_entry_fns( let key_args = fields.iter().map(|(field_name, field_type)| { // The field type is translated from `std::vec::Vec` to `[T]`. We apply - // AsRef to all types, so this just makes it a little more ergonomic. + // Borrow to all types, so this just makes it a little more ergonomic. // // TODO [jsdw]: Support mappings like `String -> str` too for better borrow // ergonomics. diff --git a/codegen/src/error.rs b/codegen/src/error.rs new file mode 100644 index 0000000000..8d38bbfdba --- /dev/null +++ b/codegen/src/error.rs @@ -0,0 +1,123 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +//! Errors that can be emitted from codegen. + +use proc_macro2::{Span, TokenStream as TokenStream2}; + +/// Error returned when the Codegen cannot generate the runtime API. +#[derive(Debug, thiserror::Error)] +pub enum CodegenError { + /// The given metadata type could not be found. + #[error("Could not find type with ID {0} in the type registry; please raise a support issue.")] + TypeNotFound(u32), + /// Cannot fetch the metadata bytes. + #[error("Failed to fetch metadata, make sure that you're pointing at a node which is providing V14 metadata: {0}")] + Fetch(#[from] FetchMetadataError), + /// Failed IO for the metadata file. + #[error("Failed IO for {0}, make sure that you are providing the correct file path for metadata V14: {1}")] + Io(String, std::io::Error), + /// Cannot decode the metadata bytes. + #[error("Could not decode metadata, only V14 metadata is supported: {0}")] + Decode(#[from] codec::Error), + /// Out of line modules are not supported. + #[error("Out-of-line subxt modules are not supported, make sure you are providing a body to your module: pub mod polkadot {{ ... }}")] + InvalidModule(Span), + /// Expected named or unnamed fields. + #[error("Fields should either be all named or all unnamed, make sure you are providing a valid metadata V14: {0}")] + InvalidFields(String), + /// Substitute types must have a valid path. + #[error("Type substitution error: {0}")] + TypeSubstitutionError(#[from] TypeSubstitutionError), + /// Invalid type path. + #[error("Invalid type path {0}: {1}")] + InvalidTypePath(String, syn::Error), + /// Metadata for constant could not be found. + #[error("Metadata for constant entry {0}_{1} could not be found. Make sure you are providing a valid metadata V14")] + MissingConstantMetadata(String, String), + /// Metadata for storage could not be found. + #[error("Metadata for storage entry {0}_{1} could not be found. Make sure you are providing a valid metadata V14")] + MissingStorageMetadata(String, String), + /// Metadata for call could not be found. + #[error("Metadata for call entry {0}_{1} could not be found. Make sure you are providing a valid metadata V14")] + MissingCallMetadata(String, String), + /// Call variant must have all named fields. + #[error("Call variant for type {0} must have all named fields. Make sure you are providing a valid metadata V14")] + InvalidCallVariant(u32), + /// Type should be an variant/enum. + #[error( + "{0} type should be an variant/enum type. Make sure you are providing a valid metadata V14" + )] + InvalidType(String), +} + +impl CodegenError { + /// Fetch the location for this error. + // Todo: Probably worth storing location outside of the variant, + // so that there's a common way to set a location for some error. + fn get_location(&self) -> Span { + match self { + Self::InvalidModule(span) => *span, + Self::TypeSubstitutionError(err) => err.get_location(), + Self::InvalidTypePath(_, err) => err.span(), + _ => proc_macro2::Span::call_site(), + } + } + /// Render the error as an invocation of syn::compile_error!. + pub fn into_compile_error(self) -> TokenStream2 { + let msg = self.to_string(); + let span = self.get_location(); + syn::Error::new(span, msg).into_compile_error() + } +} + +/// Error attempting to load metadata. +#[derive(Debug, thiserror::Error)] +pub enum FetchMetadataError { + #[error("Cannot decode hex value: {0}")] + DecodeError(#[from] hex::FromHexError), + #[error("Request error: {0}")] + RequestError(#[from] jsonrpsee::core::Error), + #[error("'{0}' not supported, supported URI schemes are http, https, ws or wss.")] + InvalidScheme(String), +} + +/// Error attempting to do type substitution. +#[derive(Debug, thiserror::Error)] +pub enum TypeSubstitutionError { + /// Substitute "to" type must be an absolute path. + #[error("`substitute_type(with = )` must be a path prefixed with 'crate::' or '::'")] + ExpectedAbsolutePath(Span), + /// Substitute types must have a valid path. + #[error("Substitute types must have a valid path.")] + EmptySubstitutePath(Span), + /// From/To substitution types should use angle bracket generics. + #[error("Expected the from/to type generics to have the form 'Foo'.")] + ExpectedAngleBracketGenerics(Span), + /// Source substitute type must be an ident. + #[error("Expected an ident like 'Foo' or 'A' to mark a type to be substituted.")] + InvalidFromType(Span), + /// Target type is invalid. + #[error("Expected an ident like 'Foo' or an absolute concrete path like '::path::to::Bar' for the substitute type.")] + InvalidToType(Span), + /// Target ident doesn't correspond to any source type. + #[error("Cannot find matching param on 'from' type.")] + NoMatchingFromType(Span), +} + +impl TypeSubstitutionError { + /// Fetch the location for this error. + // Todo: Probably worth storing location outside of the variant, + // so that there's a common way to set a location for some error. + fn get_location(&self) -> Span { + match self { + TypeSubstitutionError::ExpectedAbsolutePath(span) => *span, + TypeSubstitutionError::EmptySubstitutePath(span) => *span, + TypeSubstitutionError::ExpectedAngleBracketGenerics(span) => *span, + TypeSubstitutionError::InvalidFromType(span) => *span, + TypeSubstitutionError::InvalidToType(span) => *span, + TypeSubstitutionError::NoMatchingFromType(span) => *span, + } + } +} diff --git a/codegen/src/ir.rs b/codegen/src/ir.rs index ad730ff789..712bc80ba0 100644 --- a/codegen/src/ir.rs +++ b/codegen/src/ir.rs @@ -1,8 +1,8 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -use crate::api::CodegenError; +use crate::error::CodegenError; use syn::token; #[derive(Debug, PartialEq, Eq)] diff --git a/codegen/src/lib.rs b/codegen/src/lib.rs index 40e1c32949..0d19a7e06a 100644 --- a/codegen/src/lib.rs +++ b/codegen/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. @@ -43,9 +43,10 @@ //! println!("{}", runtime_api); //! ``` -#![deny(unused_crate_dependencies)] +#![deny(unused_crate_dependencies, missing_docs)] mod api; +mod error; mod ir; mod types; @@ -54,7 +55,8 @@ pub mod utils; pub use self::{ api::{ generate_runtime_api_from_bytes, generate_runtime_api_from_path, - generate_runtime_api_from_url, CodegenError, RuntimeGenerator, + generate_runtime_api_from_url, RuntimeGenerator, }, + error::{CodegenError, TypeSubstitutionError}, types::{CratePath, Derives, DerivesRegistry, Module, TypeGenerator, TypeSubstitutes}, }; diff --git a/codegen/src/types/composite_def.rs b/codegen/src/types/composite_def.rs index 7062f20a0b..982802cf8c 100644 --- a/codegen/src/types/composite_def.rs +++ b/codegen/src/types/composite_def.rs @@ -1,8 +1,8 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -use crate::api::CodegenError; +use crate::error::CodegenError; use super::{CratePath, Derives, Field, TypeDefParameters, TypeGenerator, TypeParameter, TypePath}; use proc_macro2::TokenStream; diff --git a/codegen/src/types/derives.rs b/codegen/src/types/derives.rs index 51ad0f3614..1f84bcd8ab 100644 --- a/codegen/src/types/derives.rs +++ b/codegen/src/types/derives.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. @@ -7,6 +7,9 @@ use syn::{parse_quote, Path}; use std::collections::{HashMap, HashSet}; +/// A struct containing the derives that we'll be applying to types; +/// a combination of some common derives for all types, plus type +/// specific derives. #[derive(Debug, Clone)] pub struct DerivesRegistry { default_derives: Derives, @@ -62,6 +65,8 @@ impl DerivesRegistry { } } +/// A struct storing the set of derives and derive attributes that we'll apply +/// to generated types. #[derive(Debug, Clone)] pub struct Derives { derives: HashSet, @@ -113,16 +118,19 @@ impl Derives { self.insert_derive(parse_quote!(#crate_path::ext::codec::CompactAs)); } - pub fn append(&mut self, derives: impl Iterator) { + /// Extend the set of derives by providing an iterator of paths to derive macros. + pub fn extend(&mut self, derives: impl Iterator) { for derive in derives { self.insert_derive(derive) } } + /// Insert a single derive. pub fn insert_derive(&mut self, derive: syn::Path) { self.derives.insert(derive); } + /// Insert a single attribute to be applied to types. pub fn insert_attribute(&mut self, attribute: syn::Attribute) { self.attributes.insert(attribute); } diff --git a/codegen/src/types/mod.rs b/codegen/src/types/mod.rs index c6e575a00a..751494bf4d 100644 --- a/codegen/src/types/mod.rs +++ b/codegen/src/types/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. @@ -17,7 +17,7 @@ use quote::{quote, ToTokens}; use scale_info::{form::PortableForm, PortableRegistry, Type, TypeDef}; use std::collections::BTreeMap; -use crate::api::CodegenError; +use crate::error::CodegenError; pub use self::{ composite_def::{CompositeDef, CompositeDefFieldType, CompositeDefFields}, @@ -77,11 +77,12 @@ impl<'a> TypeGenerator<'a> { let path = ty.ty().path(); // Don't generate a type if it was substituted - the target type might // not be in the type registry + our resolution already performs the substitution. - if self.type_substitutes.for_path(path).is_some() { + if self.type_substitutes.contains(path) { continue; } let namespace = path.namespace(); + // prelude types e.g. Option/Result have no namespace, so we don't generate them if namespace.is_empty() { continue; @@ -163,7 +164,7 @@ impl<'a> TypeGenerator<'a> { .iter() .find(|tp| tp.concrete_type_id == id) { - return TypePath::Parameter(parent_type_param.clone()); + return TypePath::from_parameter(parent_type_param.clone()); } let mut ty = self.resolve_type(id); @@ -188,17 +189,11 @@ impl<'a> TypeGenerator<'a> { let ty = match ty.type_def() { TypeDef::Composite(_) | TypeDef::Variant(_) => { - if let Some((path, params)) = self + if let Some(ty) = self .type_substitutes .for_path_with_params(ty.path(), ¶ms) { - TypePathType::Path { - path: syn::TypePath { - qself: None, - path: path.clone(), - }, - params: params.to_vec(), - } + ty } else { TypePathType::from_type_def_path( ty.path(), @@ -256,7 +251,7 @@ impl<'a> TypeGenerator<'a> { }, }; - TypePath::Type(ty) + TypePath::from_type(ty) } /// Returns the derives to be applied to all generated types. @@ -332,6 +327,7 @@ impl Module { } } +/// A newtype wrapper which stores the path to the Subxt crate. #[derive(Debug, Clone)] pub struct CratePath(syn::Path); diff --git a/codegen/src/types/substitutes.rs b/codegen/src/types/substitutes.rs index 741b5463fa..c7e43c465a 100644 --- a/codegen/src/types/substitutes.rs +++ b/codegen/src/types/substitutes.rs @@ -2,12 +2,14 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -use crate::{api::CodegenError, CratePath}; -use std::{borrow::Cow, collections::HashMap}; +use crate::{error::TypeSubstitutionError, CratePath}; +use std::{borrow::Borrow, collections::HashMap}; use syn::{parse_quote, spanned::Spanned as _}; -use super::TypePath; +use super::{TypePath, TypePathType}; +/// A map of type substitutes. We match on the paths to generated types in order +/// to figure out when to swap said type with some provided substitute. #[derive(Debug)] pub struct TypeSubstitutes { substitutes: HashMap, @@ -21,11 +23,12 @@ struct Substitute { #[derive(Debug)] enum TypeParamMapping { - None, - Specified(Vec), + // Pass any generics from source to target type + PassThrough, + // Replace any ident seen in the path with the input generic type at this index + Specified(Vec<(syn::Ident, usize)>), } -#[macro_export] macro_rules! path_segments { ($($ident: ident)::*) => { PathSegments( @@ -35,6 +38,7 @@ macro_rules! path_segments { } impl TypeSubstitutes { + /// Create a new set of type substitutes with some default substitutions in place. pub fn new(crate_path: &CratePath) -> Self { // Some hardcoded default type substitutes, can be overridden by user let defaults = [ @@ -88,7 +92,7 @@ impl TypeSubstitutes { k, Substitute { path: v, - param_mapping: TypeParamMapping::None, + param_mapping: TypeParamMapping::PassThrough, }, ) }) @@ -99,13 +103,24 @@ impl TypeSubstitutes { } } + /// Insert the given substitution, overwriting any other with the same path. + pub fn insert( + &mut self, + source: syn::Path, + target: AbsolutePath, + ) -> Result<(), TypeSubstitutionError> { + let (key, val) = TypeSubstitutes::parse_path_substitution(source, target.0)?; + self.substitutes.insert(key, val); + Ok(()) + } + /// Only insert the given substitution if a substitution at that path doesn't /// already exist. pub fn insert_if_not_exists( &mut self, source: syn::Path, target: AbsolutePath, - ) -> Result<(), CodegenError> { + ) -> Result<(), TypeSubstitutionError> { let (key, val) = TypeSubstitutes::parse_path_substitution(source, target.0)?; self.substitutes.entry(key).or_insert(val); Ok(()) @@ -115,7 +130,7 @@ impl TypeSubstitutes { pub fn extend( &mut self, elems: impl IntoIterator, - ) -> Result<(), CodegenError> { + ) -> Result<(), TypeSubstitutionError> { for (source, target) in elems.into_iter() { let (key, val) = TypeSubstitutes::parse_path_substitution(source, target.0)?; self.substitutes.insert(key, val); @@ -127,78 +142,142 @@ impl TypeSubstitutes { /// source to target, and output the source => substitution mapping that we work out from this. fn parse_path_substitution( src_path: syn::Path, - mut target_path: syn::Path, - ) -> Result<(PathSegments, Substitute), CodegenError> { - let Some(syn::PathSegment { arguments: src_path_args, ..}) = src_path.segments.last() else { - return Err(CodegenError::EmptySubstitutePath(src_path.span())) - }; - let Some(syn::PathSegment { arguments: target_path_args, ..}) = target_path.segments.last_mut() else { - return Err(CodegenError::EmptySubstitutePath(target_path.span())) - }; - - let source_args: Vec<_> = type_args(src_path_args).collect(); - - let param_mapping = if source_args.is_empty() { - // If the type parameters on the source type are not specified, then this means that - // the type is either not generic or the user wants to pass through all the parameters - TypeParamMapping::None - } else { - // Describe the mapping in terms of "which source param idx is used for each target param". - // So, for each target param, find the matching source param index. - let mapping = type_args(target_path_args) - .filter_map(|arg| { - source_args - .iter() - .position(|&src| src == arg) - .map(|src_idx| { - u8::try_from(src_idx).expect("type arguments to be fewer than 256; qed") - }) - }) - .collect(); - TypeParamMapping::Specified(mapping) - }; - - // Now that we've parsed the type params from our target path, remove said params from - // that path, since we're storing them separately. - *target_path_args = syn::PathArguments::None; + target_path: syn::Path, + ) -> Result<(PathSegments, Substitute), TypeSubstitutionError> { + let param_mapping = Self::parse_path_param_mapping(&src_path, &target_path)?; Ok(( PathSegments::from(&src_path), Substitute { + // Note; at this point, target_path might have some generics still. These + // might be hardcoded types that we want to keep, so leave them here for now. path: target_path, param_mapping, }, )) } - /// Given a source type path, return a substituted type path if a substitution is defined. - pub fn for_path(&self, path: impl Into) -> Option<&syn::Path> { - self.substitutes.get(&path.into()).map(|s| &s.path) + /// Given a source and target path, parse the type params to work out the mapping from + /// source to target, and return it. + fn parse_path_param_mapping( + src_path: &syn::Path, + target_path: &syn::Path, + ) -> Result { + let Some(syn::PathSegment { arguments: src_path_args, ..}) = src_path.segments.last() else { + return Err(TypeSubstitutionError::EmptySubstitutePath(src_path.span())) + }; + let Some(syn::PathSegment { arguments: target_path_args, ..}) = target_path.segments.last() else { + return Err(TypeSubstitutionError::EmptySubstitutePath(target_path.span())) + }; + + // Get hold of the generic args for the "from" type, erroring if they aren't valid. + let source_args = match src_path_args { + syn::PathArguments::None => { + // No generics defined on the source type: + Vec::new() + } + syn::PathArguments::AngleBracketed(args) => { + // We have generics like defined on the source type (error for any non-ident type): + args.args + .iter() + .map(|arg| match get_valid_from_substitution_type(arg) { + Some(ident) => Ok(ident), + None => Err(TypeSubstitutionError::InvalidFromType(arg.span())), + }) + .collect::, _>>()? + } + syn::PathArguments::Parenthesized(args) => { + // Generics like (A,B) -> defined; not allowed: + return Err(TypeSubstitutionError::ExpectedAngleBracketGenerics( + args.span(), + )); + } + }; + + // Get hold of the generic args for the "to" type, erroring if they aren't valid. + let target_args = match target_path_args { + syn::PathArguments::None => { + // No generics on target. + Vec::new() + } + syn::PathArguments::AngleBracketed(args) => { + // We have generics like defined on the target type. + args.args + .iter() + .map(|arg| match get_valid_to_substitution_type(arg) { + Some(arg) => Ok(arg), + None => Err(TypeSubstitutionError::InvalidToType(arg.span())), + }) + .collect::, _>>()? + } + syn::PathArguments::Parenthesized(args) => { + // Generics like (A,B) -> defined; not allowed: + return Err(TypeSubstitutionError::ExpectedAngleBracketGenerics( + args.span(), + )); + } + }; + + // If no generics defined on source or target, we just apply any concrete generics + // to the substitute type. + if source_args.is_empty() && target_args.is_empty() { + return Ok(TypeParamMapping::PassThrough); + } + + // Make a note of the idents in the source args and their indexes. + let mapping = source_args + .into_iter() + .enumerate() + .map(|(idx, ident)| (ident.clone(), idx)) + .collect(); + + Ok(TypeParamMapping::Specified(mapping)) + } + + /// Given a source type path, return whether a substitute exists for it. + pub fn contains(&self, path: impl Into) -> bool { + self.substitutes.contains_key(&path.into()) } /// Given a source type path and the resolved, supplied type parameters, /// return a new path and optionally overwritten type parameters. - pub fn for_path_with_params<'a: 'b, 'b>( - &'a self, + pub fn for_path_with_params( + &self, path: impl Into, - params: &'b [TypePath], - ) -> Option<(&'a syn::Path, Cow<'b, [TypePath]>)> { - // For now, we only support: - // 1. Reordering the generics - // 2. Omitting certain generics - fn reorder_params<'a>( - params: &'a [TypePath], + params: &[TypePath], + ) -> Option { + // If we find a substitute type, we'll take the substitute path, and + // swap any idents with their new concrete types. + fn replace_params( + mut substitute_path: syn::Path, + params: &[TypePath], mapping: &TypeParamMapping, - ) -> Cow<'a, [TypePath]> { + ) -> TypePathType { match mapping { - TypeParamMapping::Specified(mapping) => Cow::Owned( - mapping + // We need to map the input params to the output params somehow: + TypeParamMapping::Specified(mapping) => { + // A map from ident name to replacement path. + let replacement_map: Vec<(&syn::Ident, &TypePath)> = mapping .iter() - .filter_map(|&idx| params.get(idx as usize)) - .cloned() - .collect(), - ), - _ => Cow::Borrowed(params), + .filter_map(|(ident, idx)| params.get(*idx).map(|param| (ident, param))) + .collect(); + + // Replace params in our substitute path with the incoming ones as needed. + // No need if no replacements given. + if !replacement_map.is_empty() { + replace_path_params_recursively(&mut substitute_path, &replacement_map); + } + + TypePathType::Path { + path: substitute_path, + params: Vec::new(), + } + } + // No mapping; just hand back the substitute path and input params. + TypeParamMapping::PassThrough => TypePathType::Path { + path: substitute_path, + params: params.to_vec(), + }, } } @@ -206,7 +285,7 @@ impl TypeSubstitutes { self.substitutes .get(&path) - .map(|sub| (&sub.path, reorder_params(params, &sub.param_mapping))) + .map(|sub| replace_params(sub.path.clone(), params, &sub.param_mapping)) } } @@ -234,23 +313,87 @@ impl From<&scale_info::Path> for PathSegments { } } -/// Returns an iterator over generic type parameters for `syn::PathArguments`. -/// For example: -/// - `<'a, T>` should only return T -/// - `(A, B) -> String` shouldn't return anything -fn type_args(path_args: &syn::PathArguments) -> impl Iterator { - let args_opt = match path_args { - syn::PathArguments::AngleBracketed(syn::AngleBracketedGenericArguments { - ref args, - .. - }) => Some(args), - _ => None, +/// Dig through a `syn::TypePath` (this is provided by the user in a type substitution definition as the "to" type) and +/// swap out any type params which match the idents given in the "from" type with the corresponding concrete types. +/// +/// eg if we have: +/// +/// ```text +/// from = sp_runtime::MultiAddress, +/// to = ::subxt::utils::Static<::sp_runtime::MultiAddress> +/// ``` +/// +/// And we encounter a `sp_runtime::MultiAddress`, then we will pass the `::sp_runtime::MultiAddress` +/// type param value into this call to turn it into `::sp_runtime::MultiAddress`. +fn replace_path_params_recursively, P: Borrow>( + path: &mut syn::Path, + params: &Vec<(I, P)>, +) { + for segment in &mut path.segments { + let syn::PathArguments::AngleBracketed(args) = &mut segment.arguments else { + continue + }; + for arg in &mut args.args { + let syn::GenericArgument::Type(ty) = arg else { + continue + }; + let syn::Type::Path(path) = ty else { + continue + }; + if let Some(ident) = get_ident_from_type_path(path) { + if let Some((_, replacement)) = params.iter().find(|(i, _)| ident == i.borrow()) { + *ty = replacement.borrow().to_syn_type(); + continue; + } + } + replace_path_params_recursively(&mut path.path, params); + } + } +} + +/// Given a "to" type in a type substitution, return the TypePath inside or None if +/// it's not a valid "to" type. +fn get_valid_to_substitution_type(arg: &syn::GenericArgument) -> Option<&syn::TypePath> { + let syn::GenericArgument::Type(syn::Type::Path(type_path)) = arg else { + // We are looking for a type, not a lifetime or anything else + return None }; + Some(type_path) +} - args_opt.into_iter().flatten().filter_map(|arg| match arg { - syn::GenericArgument::Type(syn::Type::Path(type_path)) => Some(&type_path.path), - _ => None, - }) +/// Given a "from" type in a type substitution, return the Ident inside or None if +/// it's not a valid "from" type. +fn get_valid_from_substitution_type(arg: &syn::GenericArgument) -> Option<&syn::Ident> { + let syn::GenericArgument::Type(syn::Type::Path(type_path)) = arg else { + // We are looking for a type, not a lifetime or anything else + return None + }; + get_ident_from_type_path(type_path) +} + +/// Given a type path, return the single ident representing it if that's all it is. +fn get_ident_from_type_path(type_path: &syn::TypePath) -> Option<&syn::Ident> { + if type_path.qself.is_some() { + // No "" type thing + return None; + } + if type_path.path.leading_colon.is_some() { + // No leading "::" + return None; + } + if type_path.path.segments.len() > 1 { + // The path should just be a single ident, not multiple + return None; + } + let Some(segment) = type_path.path.segments.last() else { + // Get the single ident (should be infallible) + return None + }; + if !segment.arguments.is_empty() { + // The ident shouldn't have any of it's own generic args like A + return None; + } + Some(&segment.ident) } /// Whether a path is absolute - starts with `::` or `crate`. @@ -265,14 +408,88 @@ fn is_absolute(path: &syn::Path) -> bool { pub struct AbsolutePath(pub syn::Path); impl TryFrom for AbsolutePath { - type Error = (syn::Path, String); + type Error = TypeSubstitutionError; fn try_from(value: syn::Path) -> Result { if is_absolute(&value) { Ok(AbsolutePath(value)) } else { - Err( - (value, "The substitute path must be a global absolute path; try prefixing with `::` or `crate`".to_owned()) - ) + Err(TypeSubstitutionError::ExpectedAbsolutePath(value.span())) + } + } +} + +#[cfg(test)] +mod test { + use super::*; + + macro_rules! syn_path { + ($path:path) => {{ + let path: syn::Path = syn::parse_quote!($path); + path + }}; + } + + macro_rules! type_path { + ($path:path) => {{ + let path: syn::Path = syn::parse_quote!($path); + TypePath::from_syn_path(path) + }}; + } + + fn ident(name: &'static str) -> syn::Ident { + syn::Ident::new(name, proc_macro2::Span::call_site()) + } + + #[test] + #[rustfmt::skip] + fn replacing_nested_type_params_works() { + // Original path, replacement ident->paths, expected output path + let paths = [ + // Works ok if nothing to replace + ( + syn_path!(::some::path::Foo<::other::Path>), + vec![], + syn_path!(::some::path::Foo<::other::Path>), + ), + // Simple top level replacing + ( + syn_path!(::some::path::Foo), + vec![(ident("A"), type_path!(::new::Value))], + syn_path!(::some::path::Foo<::new::Value>), + ), + // More deeply nested replacing works too + ( + syn_path!(::some::path::Foo<::other::Path>), + vec![(ident("A"), type_path!(::new::Value))], + syn_path!(::some::path::Foo<::other::Path<::new::Value, B>>), + ), + ( + syn_path!(::some::path::Foo<::other::Path>), + vec![ + (ident("A"), type_path!(::new::A)), + (ident("B"), type_path!(::new::B)), + ], + syn_path!(::some::path::Foo<::other::Path<::new::A, ::new::B>>), + ), + ( + syn_path!(::some::path::Foo<::other::Path>>, C>), + vec![ + (ident("A"), type_path!(::new::A)), + (ident("B"), type_path!(::new::B)), + ], + syn_path!(::some::path::Foo<::other::Path<::new::A, ::more::path::to<::something::Argh<::new::B>>>,C>), + ), + // The same ident will be replaced as many times as needed: + ( + syn_path!(::some::path::Foo<::other::Path, A>>), + vec![(ident("A"), type_path!(::new::Value))], + syn_path!(::some::path::Foo<::other::Path<::new::Value, ::foo::Argh<::new::Value, B>, ::new::Value>>), + ), + ]; + + for (mut path, replacements, expected) in paths { + replace_path_params_recursively(&mut path, &replacements); + assert_eq!(path, expected); } } } diff --git a/codegen/src/types/tests.rs b/codegen/src/types/tests.rs index 2936af4de8..055b737ae1 100644 --- a/codegen/src/types/tests.rs +++ b/codegen/src/types/tests.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/codegen/src/types/type_def.rs b/codegen/src/types/type_def.rs index 340e70ab53..09ce3a4282 100644 --- a/codegen/src/types/type_def.rs +++ b/codegen/src/types/type_def.rs @@ -1,8 +1,8 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -use crate::api::CodegenError; +use crate::error::CodegenError; use super::{ CompositeDef, CompositeDefFields, CratePath, Derives, TypeDefParameters, TypeGenerator, diff --git a/codegen/src/types/type_def_params.rs b/codegen/src/types/type_def_params.rs index a43c8a33ff..15dc5b6bc2 100644 --- a/codegen/src/types/type_def_params.rs +++ b/codegen/src/types/type_def_params.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/codegen/src/types/type_path.rs b/codegen/src/types/type_path.rs index a0ab8f4364..83e596e0b8 100644 --- a/codegen/src/types/type_path.rs +++ b/codegen/src/types/type_path.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. @@ -10,8 +10,14 @@ use scale_info::{form::PortableForm, Path, TypeDefPrimitive}; use std::collections::BTreeSet; use syn::parse_quote; +/// An opaque struct representing a type path. The main usage of this is +/// to spit out as tokens in some `quote!{ ... }` macro; the inner structure +/// should be unimportant. #[derive(Clone, Debug)] -pub enum TypePath { +pub struct TypePath(TypePathInner); + +#[derive(Clone, Debug)] +pub enum TypePathInner { Parameter(TypeParameter), Type(TypePathType), } @@ -24,15 +30,35 @@ impl quote::ToTokens for TypePath { } impl TypePath { + /// Construct a [`TypePath`] from a [`TypeParameter`] + pub fn from_parameter(param: TypeParameter) -> TypePath { + TypePath(TypePathInner::Parameter(param)) + } + + /// Construct a [`TypePath`] from a [`TypeParameter`] + pub fn from_type(ty: TypePathType) -> TypePath { + TypePath(TypePathInner::Type(ty)) + } + + /// Construct a [`TypePath`] from a [`syn::TypePath`] + pub fn from_syn_path(path: syn::Path) -> TypePath { + // Note; this doesn't parse the parameters or anything, but since nothing external + // can inspect this structure, and the ToTokens impl works either way, it should be ok. + TypePath(TypePathInner::Type(TypePathType::Path { + path, + params: Vec::new(), + })) + } + pub(crate) fn to_syn_type(&self) -> syn::Type { - match self { - TypePath::Parameter(ty_param) => syn::Type::Path(parse_quote! { #ty_param }), - TypePath::Type(ty) => ty.to_syn_type(), + match &self.0 { + TypePathInner::Parameter(ty_param) => syn::Type::Path(parse_quote! { #ty_param }), + TypePathInner::Type(ty) => ty.to_syn_type(), } } pub(crate) fn is_compact(&self) -> bool { - matches!(self, Self::Type(ty) if ty.is_compact()) + matches!(&self.0, TypePathInner::Type(ty) if ty.is_compact()) } /// Returns the type parameters in a path which are inherited from the containing type. @@ -45,11 +71,11 @@ impl TypePath { /// } /// ``` pub fn parent_type_params(&self, acc: &mut BTreeSet) { - match self { - Self::Parameter(type_parameter) => { + match &self.0 { + TypePathInner::Parameter(type_parameter) => { acc.insert(type_parameter.clone()); } - Self::Type(type_path) => type_path.parent_type_params(acc), + TypePathInner::Type(type_path) => type_path.parent_type_params(acc), } } @@ -57,13 +83,13 @@ impl TypePath { /// /// **Note:** Utilized for transforming `std::vec::Vec` into slices `&[T]` for the storage API. pub fn vec_type_param(&self) -> Option<&TypePath> { - let ty = match self { - TypePath::Type(ty) => ty, + let ty = match &self.0 { + TypePathInner::Type(ty) => ty, _ => return None, }; match ty { - TypePathType::Vec { ref of } => Some(of), + TypePathType::Vec { of } => Some(of), _ => None, } } @@ -72,7 +98,7 @@ impl TypePath { #[derive(Clone, Debug)] pub enum TypePathType { Path { - path: syn::TypePath, + path: syn::Path, params: Vec, }, Vec { @@ -108,7 +134,7 @@ impl TypePathType { ) -> Self { let path_segments = path.segments(); - let path: syn::TypePath = match path_segments { + let path: syn::Path = match path_segments { [] => panic!("Type has no ident"), [ident] => { // paths to prelude types diff --git a/codegen/src/utils/fetch_metadata.rs b/codegen/src/utils/fetch_metadata.rs index 57ecdf2f3c..c7bc489827 100644 --- a/codegen/src/utils/fetch_metadata.rs +++ b/codegen/src/utils/fetch_metadata.rs @@ -1,3 +1,8 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use crate::error::FetchMetadataError; use jsonrpsee::{ async_client::ClientBuilder, client_transport::ws::{Uri, WsTransportClientBuilder}, @@ -67,40 +72,3 @@ async fn fetch_metadata_http(url: &Uri) -> Result { Ok(client.request("state_getMetadata", rpc_params![]).await?) } - -#[derive(Debug)] -pub enum FetchMetadataError { - DecodeError(hex::FromHexError), - RequestError(jsonrpsee::core::Error), - InvalidScheme(String), -} - -impl std::fmt::Display for FetchMetadataError { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - match self { - FetchMetadataError::DecodeError(e) => { - write!(f, "Cannot decode hex value: {e}") - } - FetchMetadataError::RequestError(e) => write!(f, "Request error: {e}"), - FetchMetadataError::InvalidScheme(s) => { - write!( - f, - "'{s}' not supported, supported URI schemes are http, https, ws or wss." - ) - } - } - } -} - -impl std::error::Error for FetchMetadataError {} - -impl From for FetchMetadataError { - fn from(e: hex::FromHexError) -> Self { - FetchMetadataError::DecodeError(e) - } -} -impl From for FetchMetadataError { - fn from(e: jsonrpsee::core::Error) -> Self { - FetchMetadataError::RequestError(e) - } -} diff --git a/codegen/src/utils/mod.rs b/codegen/src/utils/mod.rs index ec9a9d0f6e..5c27200310 100644 --- a/codegen/src/utils/mod.rs +++ b/codegen/src/utils/mod.rs @@ -1,3 +1,9 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +//! Utilities to help with fetching and decoding metadata. + mod fetch_metadata; // easy access to this type needed for fetching metadata: @@ -5,5 +11,5 @@ pub use jsonrpsee::client_transport::ws::Uri; pub use fetch_metadata::{ fetch_metadata_bytes, fetch_metadata_bytes_blocking, fetch_metadata_hex, - fetch_metadata_hex_blocking, FetchMetadataError, + fetch_metadata_hex_blocking, }; diff --git a/examples/examples/balance_transfer.rs b/examples/examples/balance_transfer.rs index c15e79b9b3..6392c686bc 100644 --- a/examples/examples/balance_transfer.rs +++ b/examples/examples/balance_transfer.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/balance_transfer_with_params.rs b/examples/examples/balance_transfer_with_params.rs index fd00ba48cc..ee9bde04ce 100644 --- a/examples/examples/balance_transfer_with_params.rs +++ b/examples/examples/balance_transfer_with_params.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/concurrent_storage_requests.rs b/examples/examples/concurrent_storage_requests.rs index 25c80c7244..f03bf291ee 100644 --- a/examples/examples/concurrent_storage_requests.rs +++ b/examples/examples/concurrent_storage_requests.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/custom_config.rs b/examples/examples/custom_config.rs index f92ef059fc..7c784d1503 100644 --- a/examples/examples/custom_config.rs +++ b/examples/examples/custom_config.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/custom_metadata_url.rs b/examples/examples/custom_metadata_url.rs index 7123695c45..7fb1893075 100644 --- a/examples/examples/custom_metadata_url.rs +++ b/examples/examples/custom_metadata_url.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/custom_rpc_client.rs b/examples/examples/custom_rpc_client.rs index 5a463ab44e..a5fe4e0d98 100644 --- a/examples/examples/custom_rpc_client.rs +++ b/examples/examples/custom_rpc_client.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/custom_type_derives.rs b/examples/examples/custom_type_derives.rs index dbff1a62ff..baa7562e9d 100644 --- a/examples/examples/custom_type_derives.rs +++ b/examples/examples/custom_type_derives.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/dynamic_multisig.rs b/examples/examples/dynamic_multisig.rs index 6c8e47341c..68d43347a3 100644 --- a/examples/examples/dynamic_multisig.rs +++ b/examples/examples/dynamic_multisig.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/dynamic_queries.rs b/examples/examples/dynamic_queries.rs index 61437ecfbd..51510f1ff8 100644 --- a/examples/examples/dynamic_queries.rs +++ b/examples/examples/dynamic_queries.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/fetch_all_accounts.rs b/examples/examples/fetch_all_accounts.rs index a578f13cb3..80c61d8239 100644 --- a/examples/examples/fetch_all_accounts.rs +++ b/examples/examples/fetch_all_accounts.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/fetch_constants.rs b/examples/examples/fetch_constants.rs index 817893c0da..38762d29be 100644 --- a/examples/examples/fetch_constants.rs +++ b/examples/examples/fetch_constants.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/fetch_staking_details.rs b/examples/examples/fetch_staking_details.rs index cd0af22b54..0b9ffedc86 100644 --- a/examples/examples/fetch_staking_details.rs +++ b/examples/examples/fetch_staking_details.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/metadata_compatibility.rs b/examples/examples/metadata_compatibility.rs index c961ed3133..fab4f770c5 100644 --- a/examples/examples/metadata_compatibility.rs +++ b/examples/examples/metadata_compatibility.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/multisig.rs b/examples/examples/multisig.rs index 9cf246dabe..c9d0f6c660 100644 --- a/examples/examples/multisig.rs +++ b/examples/examples/multisig.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/rpc_call.rs b/examples/examples/rpc_call.rs index 75766b7eaf..cdffa03854 100644 --- a/examples/examples/rpc_call.rs +++ b/examples/examples/rpc_call.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/rpc_call_subscribe_blocks.rs b/examples/examples/rpc_call_subscribe_blocks.rs index 2a816d26aa..bd5ff2dc0b 100644 --- a/examples/examples/rpc_call_subscribe_blocks.rs +++ b/examples/examples/rpc_call_subscribe_blocks.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/runtime_types_only.rs b/examples/examples/runtime_types_only.rs index e1270a4f81..20ceb838c3 100644 --- a/examples/examples/runtime_types_only.rs +++ b/examples/examples/runtime_types_only.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/storage_iterating.rs b/examples/examples/storage_iterating.rs index 8fc8f65584..e128ab46f9 100644 --- a/examples/examples/storage_iterating.rs +++ b/examples/examples/storage_iterating.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/submit_and_watch.rs b/examples/examples/submit_and_watch.rs index 6e4b758ac2..d45d629604 100644 --- a/examples/examples/submit_and_watch.rs +++ b/examples/examples/submit_and_watch.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/subscribe_block_events.rs b/examples/examples/subscribe_block_events.rs index 1737fd1ff4..02452cd4bc 100644 --- a/examples/examples/subscribe_block_events.rs +++ b/examples/examples/subscribe_block_events.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/subscribe_blocks.rs b/examples/examples/subscribe_blocks.rs index c9a277e32b..81a88f09b5 100644 --- a/examples/examples/subscribe_blocks.rs +++ b/examples/examples/subscribe_blocks.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/examples/examples/subscribe_runtime_updates.rs b/examples/examples/subscribe_runtime_updates.rs index 6e097706ae..29145f0d8c 100644 --- a/examples/examples/subscribe_runtime_updates.rs +++ b/examples/examples/subscribe_runtime_updates.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/macro/src/lib.rs b/macro/src/lib.rs index 9d9fa68619..b82e1589e2 100644 --- a/macro/src/lib.rs +++ b/macro/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. @@ -115,9 +115,9 @@ use std::str::FromStr; use darling::FromMeta; use proc_macro::TokenStream; -use proc_macro_error::{abort, abort_call_site, proc_macro_error}; -use subxt_codegen::{utils::Uri, DerivesRegistry, TypeSubstitutes}; -use syn::{parse_macro_input, punctuated::Punctuated, spanned::Spanned as _}; +use proc_macro_error::{abort_call_site, proc_macro_error}; +use subxt_codegen::{utils::Uri, CodegenError, DerivesRegistry, TypeSubstitutes}; +use syn::{parse_macro_input, punctuated::Punctuated}; #[derive(Debug, FromMeta)] struct RuntimeMetadataArgs { @@ -181,16 +181,14 @@ pub fn subxt(args: TokenStream, input: TokenStream) -> TokenStream { } let mut type_substitutes = TypeSubstitutes::new(&crate_path); - if let Err(err) = type_substitutes.extend(args.substitute_type.into_iter().map( - |SubstituteType { ty, with }| { - ( - ty, - with.try_into() - .unwrap_or_else(|(node, msg): (syn::Path, String)| abort!(node.span(), msg)), - ) - }, - )) { - return err.into_compile_error().into(); + let substitute_args_res: Result<(), _> = args.substitute_type.into_iter().try_for_each(|sub| { + sub.with + .try_into() + .and_then(|with| type_substitutes.insert(sub.ty, with)) + }); + + if let Err(err) = substitute_args_res { + return CodegenError::from(err).into_compile_error().into(); } let should_gen_docs = args.generate_docs.is_present(); diff --git a/metadata/benches/bench.rs b/metadata/benches/bench.rs index 6627e2c41f..9e30b031fe 100644 --- a/metadata/benches/bench.rs +++ b/metadata/benches/bench.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/metadata/src/lib.rs b/metadata/src/lib.rs index 9b197049fe..4dcfe2fb67 100644 --- a/metadata/src/lib.rs +++ b/metadata/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/blocks/block_types.rs b/subxt/src/blocks/block_types.rs index 4f994cd1e4..4a1d671edc 100644 --- a/subxt/src/blocks/block_types.rs +++ b/subxt/src/blocks/block_types.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/blocks/blocks_client.rs b/subxt/src/blocks/blocks_client.rs index 0b3c0b660f..c604c48e22 100644 --- a/subxt/src/blocks/blocks_client.rs +++ b/subxt/src/blocks/blocks_client.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/blocks/mod.rs b/subxt/src/blocks/mod.rs index 1e51052fe8..d60df23d99 100644 --- a/subxt/src/blocks/mod.rs +++ b/subxt/src/blocks/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/client/mod.rs b/subxt/src/client/mod.rs index 2948ade6b2..e2a36f0baf 100644 --- a/subxt/src/client/mod.rs +++ b/subxt/src/client/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/client/offline_client.rs b/subxt/src/client/offline_client.rs index 3f7cf273c0..815ca2a071 100644 --- a/subxt/src/client/offline_client.rs +++ b/subxt/src/client/offline_client.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/client/online_client.rs b/subxt/src/client/online_client.rs index 06542ac637..0d264681c9 100644 --- a/subxt/src/client/online_client.rs +++ b/subxt/src/client/online_client.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/config/extrinsic_params.rs b/subxt/src/config/extrinsic_params.rs index 7175d1cada..6fa9a508f9 100644 --- a/subxt/src/config/extrinsic_params.rs +++ b/subxt/src/config/extrinsic_params.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/config/mod.rs b/subxt/src/config/mod.rs index 04251306e7..9652cca48c 100644 --- a/subxt/src/config/mod.rs +++ b/subxt/src/config/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/config/polkadot.rs b/subxt/src/config/polkadot.rs index c26dc79008..649c4475dc 100644 --- a/subxt/src/config/polkadot.rs +++ b/subxt/src/config/polkadot.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/config/substrate.rs b/subxt/src/config/substrate.rs index 4b6530dd2f..3bf97b52db 100644 --- a/subxt/src/config/substrate.rs +++ b/subxt/src/config/substrate.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/constants/constant_address.rs b/subxt/src/constants/constant_address.rs index 7996a83040..e70daab492 100644 --- a/subxt/src/constants/constant_address.rs +++ b/subxt/src/constants/constant_address.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/constants/constants_client.rs b/subxt/src/constants/constants_client.rs index 30ef5067b3..2475b832aa 100644 --- a/subxt/src/constants/constants_client.rs +++ b/subxt/src/constants/constants_client.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/constants/mod.rs b/subxt/src/constants/mod.rs index 721c21ae50..9a9ccade84 100644 --- a/subxt/src/constants/mod.rs +++ b/subxt/src/constants/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/dynamic.rs b/subxt/src/dynamic.rs index d548d14a33..a16611b6f4 100644 --- a/subxt/src/dynamic.rs +++ b/subxt/src/dynamic.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/error/dispatch_error.rs b/subxt/src/error/dispatch_error.rs index 2bc6b21ddb..b2094f733e 100644 --- a/subxt/src/error/dispatch_error.rs +++ b/subxt/src/error/dispatch_error.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/error/mod.rs b/subxt/src/error/mod.rs index 787393eb6b..a5f5baba5c 100644 --- a/subxt/src/error/mod.rs +++ b/subxt/src/error/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/events/events_client.rs b/subxt/src/events/events_client.rs index 256d50c7bf..f66d97ec0f 100644 --- a/subxt/src/events/events_client.rs +++ b/subxt/src/events/events_client.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/events/events_type.rs b/subxt/src/events/events_type.rs index d14fad46f2..22a3bbb9d7 100644 --- a/subxt/src/events/events_type.rs +++ b/subxt/src/events/events_type.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/events/mod.rs b/subxt/src/events/mod.rs index ed41428de4..52cb6436c0 100644 --- a/subxt/src/events/mod.rs +++ b/subxt/src/events/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/lib.rs b/subxt/src/lib.rs index b442e3d7d5..3b41f95963 100644 --- a/subxt/src/lib.rs +++ b/subxt/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/metadata/decode_encode_traits.rs b/subxt/src/metadata/decode_encode_traits.rs index 72d2725fb7..81dbaea131 100644 --- a/subxt/src/metadata/decode_encode_traits.rs +++ b/subxt/src/metadata/decode_encode_traits.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/metadata/hash_cache.rs b/subxt/src/metadata/hash_cache.rs index 16313deb36..428a934543 100644 --- a/subxt/src/metadata/hash_cache.rs +++ b/subxt/src/metadata/hash_cache.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/metadata/metadata_location.rs b/subxt/src/metadata/metadata_location.rs index fb7b925530..710e98fd29 100644 --- a/subxt/src/metadata/metadata_location.rs +++ b/subxt/src/metadata/metadata_location.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/metadata/metadata_type.rs b/subxt/src/metadata/metadata_type.rs index c73013483a..aeb65ac09d 100644 --- a/subxt/src/metadata/metadata_type.rs +++ b/subxt/src/metadata/metadata_type.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/metadata/mod.rs b/subxt/src/metadata/mod.rs index 034c96a523..2e80ac9c15 100644 --- a/subxt/src/metadata/mod.rs +++ b/subxt/src/metadata/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/rpc/jsonrpsee_impl.rs b/subxt/src/rpc/jsonrpsee_impl.rs index 3d8c0192cd..538d24d742 100644 --- a/subxt/src/rpc/jsonrpsee_impl.rs +++ b/subxt/src/rpc/jsonrpsee_impl.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/rpc/mod.rs b/subxt/src/rpc/mod.rs index 5d91d611dd..98c76e7998 100644 --- a/subxt/src/rpc/mod.rs +++ b/subxt/src/rpc/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/rpc/rpc.rs b/subxt/src/rpc/rpc.rs index e30ba119bf..64f146de5d 100644 --- a/subxt/src/rpc/rpc.rs +++ b/subxt/src/rpc/rpc.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/rpc/rpc_client.rs b/subxt/src/rpc/rpc_client.rs index a23483258c..9b5da5c121 100644 --- a/subxt/src/rpc/rpc_client.rs +++ b/subxt/src/rpc/rpc_client.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/rpc/rpc_client_t.rs b/subxt/src/rpc/rpc_client_t.rs index e68515cf6e..64576d0968 100644 --- a/subxt/src/rpc/rpc_client_t.rs +++ b/subxt/src/rpc/rpc_client_t.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/rpc/types.rs b/subxt/src/rpc/types.rs index e1c3933bc8..2500507da0 100644 --- a/subxt/src/rpc/types.rs +++ b/subxt/src/rpc/types.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/runtime_api/mod.rs b/subxt/src/runtime_api/mod.rs index 7b55a3905a..c499d1e3a2 100644 --- a/subxt/src/runtime_api/mod.rs +++ b/subxt/src/runtime_api/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/runtime_api/runtime_client.rs b/subxt/src/runtime_api/runtime_client.rs index fa5949344a..c48737e648 100644 --- a/subxt/src/runtime_api/runtime_client.rs +++ b/subxt/src/runtime_api/runtime_client.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/runtime_api/runtime_types.rs b/subxt/src/runtime_api/runtime_types.rs index d9ddafc1d9..70162e4f08 100644 --- a/subxt/src/runtime_api/runtime_types.rs +++ b/subxt/src/runtime_api/runtime_types.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/storage/mod.rs b/subxt/src/storage/mod.rs index a71013dd13..8fac6bfca0 100644 --- a/subxt/src/storage/mod.rs +++ b/subxt/src/storage/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. @@ -21,7 +21,8 @@ pub use crate::rpc::types::StorageKey; /// entry lives and how to properly decode it. pub mod address { pub use super::storage_address::{ - dynamic, dynamic_root, Address, DynamicAddress, StaticStorageMapKey, StorageAddress, Yes, + dynamic, dynamic_root, make_static_storage_map_key, Address, DynamicAddress, + StaticStorageMapKey, StorageAddress, Yes, }; } diff --git a/subxt/src/storage/storage_address.rs b/subxt/src/storage/storage_address.rs index ffb1c41927..833229c7cf 100644 --- a/subxt/src/storage/storage_address.rs +++ b/subxt/src/storage/storage_address.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. @@ -6,6 +6,7 @@ use crate::{ dynamic::{DecodedValueThunk, Value}, error::{Error, StorageAddressError}, metadata::{DecodeWithMetadata, EncodeWithMetadata, Metadata}, + utils::{Encoded, Static}, }; use frame_metadata::{StorageEntryType, StorageHasher}; use scale_info::TypeDef; @@ -211,26 +212,12 @@ where /// A static storage key; this is some pre-encoded bytes /// likely provided by the generated interface. -pub struct StaticStorageMapKey(pub Vec); +pub type StaticStorageMapKey = Static; -impl StaticStorageMapKey { - /// Create a new [`StaticStorageMapKey`] by pre-encoding static data. - pub fn new(value: Encodable) -> StaticStorageMapKey { - Self(value.encode()) - } -} - -impl EncodeWithMetadata for StaticStorageMapKey { - fn encode_with_metadata( - &self, - _type_id: u32, - _metadata: &Metadata, - bytes: &mut Vec, - ) -> Result<(), Error> { - // We just use the already-encoded bytes for a static storage key: - bytes.extend(&self.0); - Ok(()) - } +// Used in codegen to construct the above. +#[doc(hidden)] +pub fn make_static_storage_map_key(t: T) -> StaticStorageMapKey { + Static(Encoded(t.encode())) } /// Construct a new dynamic storage lookup to the root of some entry. diff --git a/subxt/src/storage/storage_client.rs b/subxt/src/storage/storage_client.rs index ee97bef1fb..79c0ba739e 100644 --- a/subxt/src/storage/storage_client.rs +++ b/subxt/src/storage/storage_client.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/storage/storage_type.rs b/subxt/src/storage/storage_type.rs index 108a95e730..7f067461e1 100644 --- a/subxt/src/storage/storage_type.rs +++ b/subxt/src/storage/storage_type.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/storage/utils.rs b/subxt/src/storage/utils.rs index bcc290e4b6..728a581baf 100644 --- a/subxt/src/storage/utils.rs +++ b/subxt/src/storage/utils.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/tx/mod.rs b/subxt/src/tx/mod.rs index 037708f461..0eb75c3496 100644 --- a/subxt/src/tx/mod.rs +++ b/subxt/src/tx/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/tx/signer.rs b/subxt/src/tx/signer.rs index 21cffbd2c7..8f3b40abc4 100644 --- a/subxt/src/tx/signer.rs +++ b/subxt/src/tx/signer.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/tx/tx_client.rs b/subxt/src/tx/tx_client.rs index 0b5f3c08c1..9eb9fa279a 100644 --- a/subxt/src/tx/tx_client.rs +++ b/subxt/src/tx/tx_client.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/tx/tx_payload.rs b/subxt/src/tx/tx_payload.rs index c66aa76e0d..894cade163 100644 --- a/subxt/src/tx/tx_payload.rs +++ b/subxt/src/tx/tx_payload.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/tx/tx_progress.rs b/subxt/src/tx/tx_progress.rs index b5266f5bdc..593d01a10f 100644 --- a/subxt/src/tx/tx_progress.rs +++ b/subxt/src/tx/tx_progress.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/utils/account_id.rs b/subxt/src/utils/account_id.rs index 3ecd3ca7ff..73a3b9e105 100644 --- a/subxt/src/utils/account_id.rs +++ b/subxt/src/utils/account_id.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/utils/bits.rs b/subxt/src/utils/bits.rs index fc7ccbe93b..ed830a0dea 100644 --- a/subxt/src/utils/bits.rs +++ b/subxt/src/utils/bits.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/utils/mod.rs b/subxt/src/utils/mod.rs index 6dfbe25121..b6a371fe44 100644 --- a/subxt/src/utils/mod.rs +++ b/subxt/src/utils/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. @@ -8,6 +8,7 @@ mod account_id; pub mod bits; mod multi_address; mod multi_signature; +mod static_type; mod wrapper_opaque; use codec::{Decode, Encode}; @@ -16,6 +17,7 @@ use derivative::Derivative; pub use account_id::AccountId32; pub use multi_address::MultiAddress; pub use multi_signature::MultiSignature; +pub use static_type::Static; pub use wrapper_opaque::WrapperKeepOpaque; // Used in codegen diff --git a/subxt/src/utils/multi_address.rs b/subxt/src/utils/multi_address.rs index 802183a174..6e557db696 100644 --- a/subxt/src/utils/multi_address.rs +++ b/subxt/src/utils/multi_address.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/utils/multi_signature.rs b/subxt/src/utils/multi_signature.rs index 8b663bf277..94bdf028d3 100644 --- a/subxt/src/utils/multi_signature.rs +++ b/subxt/src/utils/multi_signature.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/subxt/src/utils/static_type.rs b/subxt/src/utils/static_type.rs new file mode 100644 index 0000000000..2d13e61eba --- /dev/null +++ b/subxt/src/utils/static_type.rs @@ -0,0 +1,78 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use codec::{Decode, Encode}; +use scale_decode::{visitor::DecodeAsTypeResult, IntoVisitor, Visitor}; +use scale_encode::EncodeAsType; + +/// If the type inside this implements [`Encode`], this will implement [`scale_encode::EncodeAsType`]. +/// If the type inside this implements [`Decode`], this will implement [`scale_decode::DecodeAsType`]. +/// +/// In either direction, we ignore any type information and just attempt to encode/decode statically +/// via the [`Encode`] and [`Decode`] implementations. This can be useful as an adapter for types which +/// do not implement [`scale_encode::EncodeAsType`] and [`scale_decode::DecodeAsType`] themselves, but +/// it's best to avoid using it where possible as it will not take into account any type information, +/// and is thus more likely to encode or decode incorrectly. +#[derive(Debug, Encode, Decode, PartialEq, Eq, Clone, PartialOrd, Ord, Hash)] +pub struct Static(pub T); + +impl EncodeAsType for Static { + fn encode_as_type_to( + &self, + _type_id: u32, + _types: &scale_decode::PortableRegistry, + out: &mut Vec, + ) -> Result<(), scale_encode::Error> { + self.0.encode_to(out); + Ok(()) + } +} + +pub struct StaticDecodeAsTypeVisitor(std::marker::PhantomData); + +impl Visitor for StaticDecodeAsTypeVisitor { + type Value<'scale, 'info> = Static; + type Error = scale_decode::Error; + + fn unchecked_decode_as_type<'scale, 'info>( + self, + input: &mut &'scale [u8], + _type_id: scale_decode::visitor::TypeId, + _types: &'info scale_info::PortableRegistry, + ) -> DecodeAsTypeResult, Self::Error>> { + use scale_decode::{visitor::DecodeError, Error}; + let decoded = T::decode(input) + .map(Static) + .map_err(|e| Error::new(DecodeError::CodecError(e).into())); + DecodeAsTypeResult::Decoded(decoded) + } +} + +impl IntoVisitor for Static { + type Visitor = StaticDecodeAsTypeVisitor; + fn into_visitor() -> Self::Visitor { + StaticDecodeAsTypeVisitor(std::marker::PhantomData) + } +} + +// Make it easy to convert types into Static where required. +impl From for Static { + fn from(value: T) -> Self { + Static(value) + } +} + +// Static is just a marker type and should be as transparent as possible: +impl std::ops::Deref for Static { + type Target = T; + fn deref(&self) -> &Self::Target { + &self.0 + } +} + +impl std::ops::DerefMut for Static { + fn deref_mut(&mut self) -> &mut Self::Target { + &mut self.0 + } +} diff --git a/subxt/src/utils/wrapper_opaque.rs b/subxt/src/utils/wrapper_opaque.rs index 7a1efa1cde..bdb2f8ba55 100644 --- a/subxt/src/utils/wrapper_opaque.rs +++ b/subxt/src/utils/wrapper_opaque.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/blocks/mod.rs b/testing/integration-tests/src/blocks/mod.rs index ae25594d76..ed3fb4b5e5 100644 --- a/testing/integration-tests/src/blocks/mod.rs +++ b/testing/integration-tests/src/blocks/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/client/mod.rs b/testing/integration-tests/src/client/mod.rs index 0baf465a92..139759c4b6 100644 --- a/testing/integration-tests/src/client/mod.rs +++ b/testing/integration-tests/src/client/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/codegen/codegen_documentation.rs b/testing/integration-tests/src/codegen/codegen_documentation.rs index 0fb20a55a7..5d1459284b 100644 --- a/testing/integration-tests/src/codegen/codegen_documentation.rs +++ b/testing/integration-tests/src/codegen/codegen_documentation.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/codegen/mod.rs b/testing/integration-tests/src/codegen/mod.rs index dd101a13d4..91b043b98d 100644 --- a/testing/integration-tests/src/codegen/mod.rs +++ b/testing/integration-tests/src/codegen/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/codegen/polkadot.rs b/testing/integration-tests/src/codegen/polkadot.rs index facf63d7e9..062e6f1c45 100644 --- a/testing/integration-tests/src/codegen/polkadot.rs +++ b/testing/integration-tests/src/codegen/polkadot.rs @@ -1,7 +1,10 @@ #[allow(dead_code, unused_imports, non_camel_case_types)] #[allow(clippy::all)] pub mod api { - use super::api as root_mod; + #[allow(unused_imports)] + mod root_mod { + pub use super::*; + } pub static PALLETS: [&str; 53usize] = [ "System", "Scheduler", @@ -69,7 +72,7 @@ pub mod api { pallet_ty: u32, metadata: &::subxt::Metadata, ) -> Result { - use ::subxt::metadata::DecodeWithMetadata; + use subxt::metadata::DecodeWithMetadata; if pallet_name == "System" { return Ok(Event::System(system::Event::decode_with_metadata( &mut &*pallet_bytes, @@ -406,9 +409,7 @@ pub mod api { pub fn balances(&self) -> balances::constants::ConstantsApi { balances::constants::ConstantsApi } - pub fn transaction_payment( - &self, - ) -> transaction_payment::constants::ConstantsApi { + pub fn transaction_payment(&self) -> transaction_payment::constants::ConstantsApi { transaction_payment::constants::ConstantsApi } pub fn authorship(&self) -> authorship::constants::ConstantsApi { @@ -688,9 +689,7 @@ pub mod api { pub fn phragmen_election(&self) -> phragmen_election::calls::TransactionApi { phragmen_election::calls::TransactionApi } - pub fn technical_membership( - &self, - ) -> technical_membership::calls::TransactionApi { + pub fn technical_membership(&self) -> technical_membership::calls::TransactionApi { technical_membership::calls::TransactionApi } pub fn treasury(&self) -> treasury::calls::TransactionApi { @@ -790,9 +789,9 @@ pub mod api { let runtime_metadata_hash = client.metadata().metadata_hash(&PALLETS); if runtime_metadata_hash != [ - 252u8, 179u8, 170u8, 129u8, 159u8, 95u8, 180u8, 114u8, 218u8, 56u8, 91u8, - 93u8, 175u8, 45u8, 57u8, 223u8, 178u8, 209u8, 250u8, 247u8, 243u8, 73u8, - 182u8, 137u8, 176u8, 129u8, 37u8, 196u8, 133u8, 123u8, 93u8, 186u8, + 252u8, 179u8, 170u8, 129u8, 159u8, 95u8, 180u8, 114u8, 218u8, 56u8, 91u8, 93u8, + 175u8, 45u8, 57u8, 223u8, 178u8, 209u8, 250u8, 247u8, 243u8, 73u8, 182u8, 137u8, + 176u8, 129u8, 37u8, 196u8, 133u8, 123u8, 93u8, 186u8, ] { Err(::subxt::error::MetadataError::IncompatibleMetadata) @@ -933,10 +932,10 @@ pub mod api { "fill_block", FillBlock { ratio }, [ - 48u8, 18u8, 205u8, 90u8, 222u8, 4u8, 20u8, 251u8, 173u8, - 76u8, 167u8, 4u8, 83u8, 203u8, 160u8, 89u8, 132u8, 218u8, - 191u8, 145u8, 130u8, 245u8, 177u8, 201u8, 169u8, 129u8, - 173u8, 105u8, 88u8, 45u8, 136u8, 191u8, + 48u8, 18u8, 205u8, 90u8, 222u8, 4u8, 20u8, 251u8, 173u8, 76u8, 167u8, + 4u8, 83u8, 203u8, 160u8, 89u8, 132u8, 218u8, 191u8, 145u8, 130u8, + 245u8, 177u8, 201u8, 169u8, 129u8, 173u8, 105u8, 88u8, 45u8, 136u8, + 191u8, ], ) } @@ -954,10 +953,10 @@ pub mod api { "remark", Remark { remark }, [ - 101u8, 80u8, 195u8, 226u8, 224u8, 247u8, 60u8, 128u8, 3u8, - 101u8, 51u8, 147u8, 96u8, 126u8, 76u8, 230u8, 194u8, 227u8, - 191u8, 73u8, 160u8, 146u8, 87u8, 147u8, 243u8, 28u8, 228u8, - 116u8, 224u8, 181u8, 129u8, 160u8, + 101u8, 80u8, 195u8, 226u8, 224u8, 247u8, 60u8, 128u8, 3u8, 101u8, 51u8, + 147u8, 96u8, 126u8, 76u8, 230u8, 194u8, 227u8, 191u8, 73u8, 160u8, + 146u8, 87u8, 147u8, 243u8, 28u8, 228u8, 116u8, 224u8, 181u8, 129u8, + 160u8, ], ) } @@ -971,10 +970,9 @@ pub mod api { "set_heap_pages", SetHeapPages { pages }, [ - 43u8, 103u8, 128u8, 49u8, 156u8, 136u8, 11u8, 204u8, 80u8, - 6u8, 244u8, 86u8, 171u8, 44u8, 140u8, 225u8, 142u8, 198u8, - 43u8, 87u8, 26u8, 45u8, 125u8, 222u8, 165u8, 254u8, 172u8, - 158u8, 39u8, 178u8, 86u8, 87u8, + 43u8, 103u8, 128u8, 49u8, 156u8, 136u8, 11u8, 204u8, 80u8, 6u8, 244u8, + 86u8, 171u8, 44u8, 140u8, 225u8, 142u8, 198u8, 43u8, 87u8, 26u8, 45u8, + 125u8, 222u8, 165u8, 254u8, 172u8, 158u8, 39u8, 178u8, 86u8, 87u8, ], ) } @@ -999,10 +997,9 @@ pub mod api { "set_code", SetCode { code }, [ - 27u8, 104u8, 244u8, 205u8, 188u8, 254u8, 121u8, 13u8, 106u8, - 120u8, 244u8, 108u8, 97u8, 84u8, 100u8, 68u8, 26u8, 69u8, - 93u8, 128u8, 107u8, 4u8, 3u8, 142u8, 13u8, 134u8, 196u8, - 62u8, 113u8, 181u8, 14u8, 40u8, + 27u8, 104u8, 244u8, 205u8, 188u8, 254u8, 121u8, 13u8, 106u8, 120u8, + 244u8, 108u8, 97u8, 84u8, 100u8, 68u8, 26u8, 69u8, 93u8, 128u8, 107u8, + 4u8, 3u8, 142u8, 13u8, 134u8, 196u8, 62u8, 113u8, 181u8, 14u8, 40u8, ], ) } @@ -1024,10 +1021,9 @@ pub mod api { "set_code_without_checks", SetCodeWithoutChecks { code }, [ - 102u8, 160u8, 125u8, 235u8, 30u8, 23u8, 45u8, 239u8, 112u8, - 148u8, 159u8, 158u8, 42u8, 93u8, 206u8, 94u8, 80u8, 250u8, - 66u8, 195u8, 60u8, 40u8, 142u8, 169u8, 183u8, 80u8, 80u8, - 96u8, 3u8, 231u8, 99u8, 216u8, + 102u8, 160u8, 125u8, 235u8, 30u8, 23u8, 45u8, 239u8, 112u8, 148u8, + 159u8, 158u8, 42u8, 93u8, 206u8, 94u8, 80u8, 250u8, 66u8, 195u8, 60u8, + 40u8, 142u8, 169u8, 183u8, 80u8, 80u8, 96u8, 3u8, 231u8, 99u8, 216u8, ], ) } @@ -1044,10 +1040,9 @@ pub mod api { "set_storage", SetStorage { items }, [ - 74u8, 43u8, 106u8, 255u8, 50u8, 151u8, 192u8, 155u8, 14u8, - 90u8, 19u8, 45u8, 165u8, 16u8, 235u8, 242u8, 21u8, 131u8, - 33u8, 172u8, 119u8, 78u8, 140u8, 10u8, 107u8, 202u8, 122u8, - 235u8, 181u8, 191u8, 22u8, 116u8, + 74u8, 43u8, 106u8, 255u8, 50u8, 151u8, 192u8, 155u8, 14u8, 90u8, 19u8, + 45u8, 165u8, 16u8, 235u8, 242u8, 21u8, 131u8, 33u8, 172u8, 119u8, 78u8, + 140u8, 10u8, 107u8, 202u8, 122u8, 235u8, 181u8, 191u8, 22u8, 116u8, ], ) } @@ -1061,10 +1056,10 @@ pub mod api { "kill_storage", KillStorage { keys }, [ - 174u8, 174u8, 13u8, 174u8, 75u8, 138u8, 128u8, 235u8, 222u8, - 216u8, 85u8, 18u8, 198u8, 1u8, 138u8, 70u8, 19u8, 108u8, - 209u8, 41u8, 228u8, 67u8, 130u8, 230u8, 160u8, 207u8, 11u8, - 180u8, 139u8, 242u8, 41u8, 15u8, + 174u8, 174u8, 13u8, 174u8, 75u8, 138u8, 128u8, 235u8, 222u8, 216u8, + 85u8, 18u8, 198u8, 1u8, 138u8, 70u8, 19u8, 108u8, 209u8, 41u8, 228u8, + 67u8, 130u8, 230u8, 160u8, 207u8, 11u8, 180u8, 139u8, 242u8, 41u8, + 15u8, ], ) } @@ -1082,10 +1077,10 @@ pub mod api { "kill_prefix", KillPrefix { prefix, subkeys }, [ - 203u8, 116u8, 217u8, 42u8, 154u8, 215u8, 77u8, 217u8, 13u8, - 22u8, 193u8, 2u8, 128u8, 115u8, 179u8, 115u8, 187u8, 218u8, - 129u8, 34u8, 80u8, 4u8, 173u8, 120u8, 92u8, 35u8, 237u8, - 112u8, 201u8, 207u8, 200u8, 48u8, + 203u8, 116u8, 217u8, 42u8, 154u8, 215u8, 77u8, 217u8, 13u8, 22u8, + 193u8, 2u8, 128u8, 115u8, 179u8, 115u8, 187u8, 218u8, 129u8, 34u8, + 80u8, 4u8, 173u8, 120u8, 92u8, 35u8, 237u8, 112u8, 201u8, 207u8, 200u8, + 48u8, ], ) } @@ -1099,10 +1094,10 @@ pub mod api { "remark_with_event", RemarkWithEvent { remark }, [ - 123u8, 225u8, 180u8, 179u8, 144u8, 74u8, 27u8, 85u8, 101u8, - 75u8, 134u8, 44u8, 181u8, 25u8, 183u8, 158u8, 14u8, 213u8, - 56u8, 225u8, 136u8, 88u8, 26u8, 114u8, 178u8, 43u8, 176u8, - 43u8, 240u8, 84u8, 116u8, 46u8, + 123u8, 225u8, 180u8, 179u8, 144u8, 74u8, 27u8, 85u8, 101u8, 75u8, + 134u8, 44u8, 181u8, 25u8, 183u8, 158u8, 14u8, 213u8, 56u8, 225u8, + 136u8, 88u8, 26u8, 114u8, 178u8, 43u8, 176u8, 43u8, 240u8, 84u8, 116u8, + 46u8, ], ) } @@ -1227,9 +1222,7 @@ pub mod api { ::subxt::storage::address::StaticStorageMapKey, runtime_types::frame_system::AccountInfo< ::core::primitive::u32, - runtime_types::pallet_balances::AccountData< - ::core::primitive::u128, - >, + runtime_types::pallet_balances::AccountData<::core::primitive::u128>, >, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, @@ -1238,14 +1231,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "System", "Account", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 176u8, 187u8, 21u8, 220u8, 159u8, 204u8, 127u8, 14u8, 21u8, - 69u8, 77u8, 114u8, 230u8, 141u8, 107u8, 79u8, 23u8, 16u8, - 174u8, 243u8, 252u8, 42u8, 65u8, 120u8, 229u8, 38u8, 210u8, - 255u8, 22u8, 40u8, 109u8, 223u8, + 176u8, 187u8, 21u8, 220u8, 159u8, 204u8, 127u8, 14u8, 21u8, 69u8, 77u8, + 114u8, 230u8, 141u8, 107u8, 79u8, 23u8, 16u8, 174u8, 243u8, 252u8, + 42u8, 65u8, 120u8, 229u8, 38u8, 210u8, 255u8, 22u8, 40u8, 109u8, 223u8, ], ) } @@ -1256,9 +1248,7 @@ pub mod api { ::subxt::storage::address::StaticStorageMapKey, runtime_types::frame_system::AccountInfo< ::core::primitive::u32, - runtime_types::pallet_balances::AccountData< - ::core::primitive::u128, - >, + runtime_types::pallet_balances::AccountData<::core::primitive::u128>, >, (), ::subxt::storage::address::Yes, @@ -1269,10 +1259,9 @@ pub mod api { "Account", Vec::new(), [ - 176u8, 187u8, 21u8, 220u8, 159u8, 204u8, 127u8, 14u8, 21u8, - 69u8, 77u8, 114u8, 230u8, 141u8, 107u8, 79u8, 23u8, 16u8, - 174u8, 243u8, 252u8, 42u8, 65u8, 120u8, 229u8, 38u8, 210u8, - 255u8, 22u8, 40u8, 109u8, 223u8, + 176u8, 187u8, 21u8, 220u8, 159u8, 204u8, 127u8, 14u8, 21u8, 69u8, 77u8, + 114u8, 230u8, 141u8, 107u8, 79u8, 23u8, 16u8, 174u8, 243u8, 252u8, + 42u8, 65u8, 120u8, 229u8, 38u8, 210u8, 255u8, 22u8, 40u8, 109u8, 223u8, ], ) } @@ -1291,10 +1280,9 @@ pub mod api { "ExtrinsicCount", vec![], [ - 223u8, 60u8, 201u8, 120u8, 36u8, 44u8, 180u8, 210u8, 242u8, - 53u8, 222u8, 154u8, 123u8, 176u8, 249u8, 8u8, 225u8, 28u8, - 232u8, 4u8, 136u8, 41u8, 151u8, 82u8, 189u8, 149u8, 49u8, - 166u8, 139u8, 9u8, 163u8, 231u8, + 223u8, 60u8, 201u8, 120u8, 36u8, 44u8, 180u8, 210u8, 242u8, 53u8, + 222u8, 154u8, 123u8, 176u8, 249u8, 8u8, 225u8, 28u8, 232u8, 4u8, 136u8, + 41u8, 151u8, 82u8, 189u8, 149u8, 49u8, 166u8, 139u8, 9u8, 163u8, 231u8, ], ) } @@ -1315,10 +1303,10 @@ pub mod api { "BlockWeight", vec![], [ - 120u8, 67u8, 71u8, 163u8, 36u8, 202u8, 52u8, 106u8, 143u8, - 155u8, 144u8, 87u8, 142u8, 241u8, 232u8, 183u8, 56u8, 235u8, - 27u8, 237u8, 20u8, 202u8, 33u8, 85u8, 189u8, 0u8, 28u8, 52u8, - 198u8, 40u8, 219u8, 54u8, + 120u8, 67u8, 71u8, 163u8, 36u8, 202u8, 52u8, 106u8, 143u8, 155u8, + 144u8, 87u8, 142u8, 241u8, 232u8, 183u8, 56u8, 235u8, 27u8, 237u8, + 20u8, 202u8, 33u8, 85u8, 189u8, 0u8, 28u8, 52u8, 198u8, 40u8, 219u8, + 54u8, ], ) } @@ -1337,10 +1325,10 @@ pub mod api { "AllExtrinsicsLen", vec![], [ - 202u8, 145u8, 209u8, 225u8, 40u8, 220u8, 174u8, 74u8, 93u8, - 164u8, 254u8, 248u8, 254u8, 192u8, 32u8, 117u8, 96u8, 149u8, - 53u8, 145u8, 219u8, 64u8, 234u8, 18u8, 217u8, 200u8, 203u8, - 141u8, 145u8, 28u8, 134u8, 60u8, + 202u8, 145u8, 209u8, 225u8, 40u8, 220u8, 174u8, 74u8, 93u8, 164u8, + 254u8, 248u8, 254u8, 192u8, 32u8, 117u8, 96u8, 149u8, 53u8, 145u8, + 219u8, 64u8, 234u8, 18u8, 217u8, 200u8, 203u8, 141u8, 145u8, 28u8, + 134u8, 60u8, ], ) } @@ -1358,14 +1346,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "System", "BlockHash", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 50u8, 112u8, 176u8, 239u8, 175u8, 18u8, 205u8, 20u8, 241u8, - 195u8, 21u8, 228u8, 186u8, 57u8, 200u8, 25u8, 38u8, 44u8, - 106u8, 20u8, 168u8, 80u8, 76u8, 235u8, 12u8, 51u8, 137u8, - 149u8, 200u8, 4u8, 220u8, 237u8, + 50u8, 112u8, 176u8, 239u8, 175u8, 18u8, 205u8, 20u8, 241u8, 195u8, + 21u8, 228u8, 186u8, 57u8, 200u8, 25u8, 38u8, 44u8, 106u8, 20u8, 168u8, + 80u8, 76u8, 235u8, 12u8, 51u8, 137u8, 149u8, 200u8, 4u8, 220u8, 237u8, ], ) } @@ -1384,10 +1371,9 @@ pub mod api { "BlockHash", Vec::new(), [ - 50u8, 112u8, 176u8, 239u8, 175u8, 18u8, 205u8, 20u8, 241u8, - 195u8, 21u8, 228u8, 186u8, 57u8, 200u8, 25u8, 38u8, 44u8, - 106u8, 20u8, 168u8, 80u8, 76u8, 235u8, 12u8, 51u8, 137u8, - 149u8, 200u8, 4u8, 220u8, 237u8, + 50u8, 112u8, 176u8, 239u8, 175u8, 18u8, 205u8, 20u8, 241u8, 195u8, + 21u8, 228u8, 186u8, 57u8, 200u8, 25u8, 38u8, 44u8, 106u8, 20u8, 168u8, + 80u8, 76u8, 235u8, 12u8, 51u8, 137u8, 149u8, 200u8, 4u8, 220u8, 237u8, ], ) } @@ -1405,14 +1391,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "System", "ExtrinsicData", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 210u8, 224u8, 211u8, 186u8, 118u8, 210u8, 185u8, 194u8, - 238u8, 211u8, 254u8, 73u8, 67u8, 184u8, 31u8, 229u8, 168u8, - 125u8, 98u8, 23u8, 241u8, 59u8, 49u8, 86u8, 126u8, 9u8, - 114u8, 163u8, 160u8, 62u8, 50u8, 67u8, + 210u8, 224u8, 211u8, 186u8, 118u8, 210u8, 185u8, 194u8, 238u8, 211u8, + 254u8, 73u8, 67u8, 184u8, 31u8, 229u8, 168u8, 125u8, 98u8, 23u8, 241u8, + 59u8, 49u8, 86u8, 126u8, 9u8, 114u8, 163u8, 160u8, 62u8, 50u8, 67u8, ], ) } @@ -1431,10 +1416,9 @@ pub mod api { "ExtrinsicData", Vec::new(), [ - 210u8, 224u8, 211u8, 186u8, 118u8, 210u8, 185u8, 194u8, - 238u8, 211u8, 254u8, 73u8, 67u8, 184u8, 31u8, 229u8, 168u8, - 125u8, 98u8, 23u8, 241u8, 59u8, 49u8, 86u8, 126u8, 9u8, - 114u8, 163u8, 160u8, 62u8, 50u8, 67u8, + 210u8, 224u8, 211u8, 186u8, 118u8, 210u8, 185u8, 194u8, 238u8, 211u8, + 254u8, 73u8, 67u8, 184u8, 31u8, 229u8, 168u8, 125u8, 98u8, 23u8, 241u8, + 59u8, 49u8, 86u8, 126u8, 9u8, 114u8, 163u8, 160u8, 62u8, 50u8, 67u8, ], ) } @@ -1453,10 +1437,10 @@ pub mod api { "Number", vec![], [ - 228u8, 96u8, 102u8, 190u8, 252u8, 130u8, 239u8, 172u8, 126u8, - 235u8, 246u8, 139u8, 208u8, 15u8, 88u8, 245u8, 141u8, 232u8, - 43u8, 204u8, 36u8, 87u8, 211u8, 141u8, 187u8, 68u8, 236u8, - 70u8, 193u8, 235u8, 164u8, 191u8, + 228u8, 96u8, 102u8, 190u8, 252u8, 130u8, 239u8, 172u8, 126u8, 235u8, + 246u8, 139u8, 208u8, 15u8, 88u8, 245u8, 141u8, 232u8, 43u8, 204u8, + 36u8, 87u8, 211u8, 141u8, 187u8, 68u8, 236u8, 70u8, 193u8, 235u8, + 164u8, 191u8, ], ) } @@ -1475,10 +1459,10 @@ pub mod api { "ParentHash", vec![], [ - 232u8, 206u8, 177u8, 119u8, 38u8, 57u8, 233u8, 50u8, 225u8, - 49u8, 169u8, 176u8, 210u8, 51u8, 231u8, 176u8, 234u8, 186u8, - 188u8, 112u8, 15u8, 152u8, 195u8, 232u8, 201u8, 97u8, 208u8, - 249u8, 9u8, 163u8, 69u8, 36u8, + 232u8, 206u8, 177u8, 119u8, 38u8, 57u8, 233u8, 50u8, 225u8, 49u8, + 169u8, 176u8, 210u8, 51u8, 231u8, 176u8, 234u8, 186u8, 188u8, 112u8, + 15u8, 152u8, 195u8, 232u8, 201u8, 97u8, 208u8, 249u8, 9u8, 163u8, 69u8, + 36u8, ], ) } @@ -1497,10 +1481,9 @@ pub mod api { "Digest", vec![], [ - 83u8, 141u8, 200u8, 132u8, 182u8, 55u8, 197u8, 122u8, 13u8, - 159u8, 31u8, 42u8, 60u8, 191u8, 89u8, 221u8, 242u8, 47u8, - 199u8, 213u8, 48u8, 216u8, 131u8, 168u8, 245u8, 82u8, 56u8, - 190u8, 62u8, 69u8, 96u8, 37u8, + 83u8, 141u8, 200u8, 132u8, 182u8, 55u8, 197u8, 122u8, 13u8, 159u8, + 31u8, 42u8, 60u8, 191u8, 89u8, 221u8, 242u8, 47u8, 199u8, 213u8, 48u8, + 216u8, 131u8, 168u8, 245u8, 82u8, 56u8, 190u8, 62u8, 69u8, 96u8, 37u8, ], ) } @@ -1530,10 +1513,9 @@ pub mod api { "Events", vec![], [ - 230u8, 215u8, 9u8, 223u8, 139u8, 55u8, 22u8, 144u8, 226u8, - 245u8, 166u8, 235u8, 8u8, 182u8, 131u8, 51u8, 41u8, 148u8, - 102u8, 40u8, 86u8, 230u8, 82u8, 41u8, 226u8, 151u8, 247u8, - 41u8, 186u8, 190u8, 85u8, 20u8, + 230u8, 215u8, 9u8, 223u8, 139u8, 55u8, 22u8, 144u8, 226u8, 245u8, + 166u8, 235u8, 8u8, 182u8, 131u8, 51u8, 41u8, 148u8, 102u8, 40u8, 86u8, + 230u8, 82u8, 41u8, 226u8, 151u8, 247u8, 41u8, 186u8, 190u8, 85u8, 20u8, ], ) } @@ -1552,10 +1534,10 @@ pub mod api { "EventCount", vec![], [ - 236u8, 93u8, 90u8, 177u8, 250u8, 211u8, 138u8, 187u8, 26u8, - 208u8, 203u8, 113u8, 221u8, 233u8, 227u8, 9u8, 249u8, 25u8, - 202u8, 185u8, 161u8, 144u8, 167u8, 104u8, 127u8, 187u8, 38u8, - 18u8, 52u8, 61u8, 66u8, 112u8, + 236u8, 93u8, 90u8, 177u8, 250u8, 211u8, 138u8, 187u8, 26u8, 208u8, + 203u8, 113u8, 221u8, 233u8, 227u8, 9u8, 249u8, 25u8, 202u8, 185u8, + 161u8, 144u8, 167u8, 104u8, 127u8, 187u8, 38u8, 18u8, 52u8, 61u8, 66u8, + 112u8, ], ) } @@ -1582,14 +1564,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "System", "EventTopics", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 205u8, 90u8, 142u8, 190u8, 176u8, 37u8, 94u8, 82u8, 98u8, - 1u8, 129u8, 63u8, 246u8, 101u8, 130u8, 58u8, 216u8, 16u8, - 139u8, 196u8, 154u8, 111u8, 110u8, 178u8, 24u8, 44u8, 183u8, - 176u8, 232u8, 82u8, 223u8, 38u8, + 205u8, 90u8, 142u8, 190u8, 176u8, 37u8, 94u8, 82u8, 98u8, 1u8, 129u8, + 63u8, 246u8, 101u8, 130u8, 58u8, 216u8, 16u8, 139u8, 196u8, 154u8, + 111u8, 110u8, 178u8, 24u8, 44u8, 183u8, 176u8, 232u8, 82u8, 223u8, + 38u8, ], ) } @@ -1617,10 +1599,10 @@ pub mod api { "EventTopics", Vec::new(), [ - 205u8, 90u8, 142u8, 190u8, 176u8, 37u8, 94u8, 82u8, 98u8, - 1u8, 129u8, 63u8, 246u8, 101u8, 130u8, 58u8, 216u8, 16u8, - 139u8, 196u8, 154u8, 111u8, 110u8, 178u8, 24u8, 44u8, 183u8, - 176u8, 232u8, 82u8, 223u8, 38u8, + 205u8, 90u8, 142u8, 190u8, 176u8, 37u8, 94u8, 82u8, 98u8, 1u8, 129u8, + 63u8, 246u8, 101u8, 130u8, 58u8, 216u8, 16u8, 139u8, 196u8, 154u8, + 111u8, 110u8, 178u8, 24u8, 44u8, 183u8, 176u8, 232u8, 82u8, 223u8, + 38u8, ], ) } @@ -1639,10 +1621,9 @@ pub mod api { "LastRuntimeUpgrade", vec![], [ - 52u8, 37u8, 117u8, 111u8, 57u8, 130u8, 196u8, 14u8, 99u8, - 77u8, 91u8, 126u8, 178u8, 249u8, 78u8, 34u8, 9u8, 194u8, - 92u8, 105u8, 113u8, 81u8, 185u8, 127u8, 245u8, 184u8, 60u8, - 29u8, 234u8, 182u8, 96u8, 196u8, + 52u8, 37u8, 117u8, 111u8, 57u8, 130u8, 196u8, 14u8, 99u8, 77u8, 91u8, + 126u8, 178u8, 249u8, 78u8, 34u8, 9u8, 194u8, 92u8, 105u8, 113u8, 81u8, + 185u8, 127u8, 245u8, 184u8, 60u8, 29u8, 234u8, 182u8, 96u8, 196u8, ], ) } @@ -1661,10 +1642,9 @@ pub mod api { "UpgradedToU32RefCount", vec![], [ - 171u8, 88u8, 244u8, 92u8, 122u8, 67u8, 27u8, 18u8, 59u8, - 175u8, 175u8, 178u8, 20u8, 150u8, 213u8, 59u8, 222u8, 141u8, - 32u8, 107u8, 3u8, 114u8, 83u8, 250u8, 180u8, 233u8, 152u8, - 54u8, 187u8, 99u8, 131u8, 204u8, + 171u8, 88u8, 244u8, 92u8, 122u8, 67u8, 27u8, 18u8, 59u8, 175u8, 175u8, + 178u8, 20u8, 150u8, 213u8, 59u8, 222u8, 141u8, 32u8, 107u8, 3u8, 114u8, + 83u8, 250u8, 180u8, 233u8, 152u8, 54u8, 187u8, 99u8, 131u8, 204u8, ], ) } @@ -1684,10 +1664,10 @@ pub mod api { "UpgradedToTripleRefCount", vec![], [ - 90u8, 33u8, 56u8, 86u8, 90u8, 101u8, 89u8, 133u8, 203u8, - 56u8, 201u8, 210u8, 244u8, 232u8, 150u8, 18u8, 51u8, 105u8, - 14u8, 230u8, 103u8, 155u8, 246u8, 99u8, 53u8, 207u8, 225u8, - 128u8, 186u8, 76u8, 40u8, 185u8, + 90u8, 33u8, 56u8, 86u8, 90u8, 101u8, 89u8, 133u8, 203u8, 56u8, 201u8, + 210u8, 244u8, 232u8, 150u8, 18u8, 51u8, 105u8, 14u8, 230u8, 103u8, + 155u8, 246u8, 99u8, 53u8, 207u8, 225u8, 128u8, 186u8, 76u8, 40u8, + 185u8, ], ) } @@ -1706,10 +1686,10 @@ pub mod api { "ExecutionPhase", vec![], [ - 230u8, 183u8, 221u8, 135u8, 226u8, 223u8, 55u8, 104u8, 138u8, - 224u8, 103u8, 156u8, 222u8, 99u8, 203u8, 199u8, 164u8, 168u8, - 193u8, 133u8, 201u8, 155u8, 63u8, 95u8, 17u8, 206u8, 165u8, - 123u8, 161u8, 33u8, 172u8, 93u8, + 230u8, 183u8, 221u8, 135u8, 226u8, 223u8, 55u8, 104u8, 138u8, 224u8, + 103u8, 156u8, 222u8, 99u8, 203u8, 199u8, 164u8, 168u8, 193u8, 133u8, + 201u8, 155u8, 63u8, 95u8, 17u8, 206u8, 165u8, 123u8, 161u8, 33u8, + 172u8, 93u8, ], ) } @@ -1722,34 +1702,32 @@ pub mod api { #[doc = " Block & extrinsics weights: base values and limits."] pub fn block_weights( &self, - ) -> ::subxt::constants::Address< - runtime_types::frame_system::limits::BlockWeights, - > { + ) -> ::subxt::constants::Address + { ::subxt::constants::Address::new_static( "System", "BlockWeights", [ - 118u8, 253u8, 239u8, 217u8, 145u8, 115u8, 85u8, 86u8, 172u8, - 248u8, 139u8, 32u8, 158u8, 126u8, 172u8, 188u8, 197u8, 105u8, - 145u8, 235u8, 171u8, 50u8, 31u8, 225u8, 167u8, 187u8, 241u8, - 87u8, 6u8, 17u8, 234u8, 185u8, + 118u8, 253u8, 239u8, 217u8, 145u8, 115u8, 85u8, 86u8, 172u8, 248u8, + 139u8, 32u8, 158u8, 126u8, 172u8, 188u8, 197u8, 105u8, 145u8, 235u8, + 171u8, 50u8, 31u8, 225u8, 167u8, 187u8, 241u8, 87u8, 6u8, 17u8, 234u8, + 185u8, ], ) } #[doc = " The maximum length of a block (in bytes)."] pub fn block_length( &self, - ) -> ::subxt::constants::Address< - runtime_types::frame_system::limits::BlockLength, - > { + ) -> ::subxt::constants::Address + { ::subxt::constants::Address::new_static( "System", "BlockLength", [ - 116u8, 184u8, 225u8, 228u8, 207u8, 203u8, 4u8, 220u8, 234u8, - 198u8, 150u8, 108u8, 205u8, 87u8, 194u8, 131u8, 229u8, 51u8, - 140u8, 4u8, 47u8, 12u8, 200u8, 144u8, 153u8, 62u8, 51u8, - 39u8, 138u8, 205u8, 203u8, 236u8, + 116u8, 184u8, 225u8, 228u8, 207u8, 203u8, 4u8, 220u8, 234u8, 198u8, + 150u8, 108u8, 205u8, 87u8, 194u8, 131u8, 229u8, 51u8, 140u8, 4u8, 47u8, + 12u8, 200u8, 144u8, 153u8, 62u8, 51u8, 39u8, 138u8, 205u8, 203u8, + 236u8, ], ) } @@ -1761,10 +1739,10 @@ pub mod api { "System", "BlockHashCount", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -1777,10 +1755,10 @@ pub mod api { "System", "DbWeight", [ - 124u8, 162u8, 190u8, 149u8, 49u8, 177u8, 162u8, 231u8, 62u8, - 167u8, 199u8, 181u8, 43u8, 232u8, 185u8, 116u8, 195u8, 51u8, - 233u8, 223u8, 20u8, 129u8, 246u8, 13u8, 65u8, 180u8, 64u8, - 9u8, 157u8, 59u8, 245u8, 118u8, + 124u8, 162u8, 190u8, 149u8, 49u8, 177u8, 162u8, 231u8, 62u8, 167u8, + 199u8, 181u8, 43u8, 232u8, 185u8, 116u8, 195u8, 51u8, 233u8, 223u8, + 20u8, 129u8, 246u8, 13u8, 65u8, 180u8, 64u8, 9u8, 157u8, 59u8, 245u8, + 118u8, ], ) } @@ -1793,10 +1771,9 @@ pub mod api { "System", "Version", [ - 93u8, 98u8, 57u8, 243u8, 229u8, 8u8, 234u8, 231u8, 72u8, - 230u8, 139u8, 47u8, 63u8, 181u8, 17u8, 2u8, 220u8, 231u8, - 104u8, 237u8, 185u8, 143u8, 165u8, 253u8, 188u8, 76u8, 147u8, - 12u8, 170u8, 26u8, 74u8, 200u8, + 93u8, 98u8, 57u8, 243u8, 229u8, 8u8, 234u8, 231u8, 72u8, 230u8, 139u8, + 47u8, 63u8, 181u8, 17u8, 2u8, 220u8, 231u8, 104u8, 237u8, 185u8, 143u8, + 165u8, 253u8, 188u8, 76u8, 147u8, 12u8, 170u8, 26u8, 74u8, 200u8, ], ) } @@ -1805,17 +1782,14 @@ pub mod api { #[doc = " This replaces the \"ss58Format\" property declared in the chain spec. Reason is"] #[doc = " that the runtime should know about the prefix in order to make use of it as"] #[doc = " an identifier of the chain."] - pub fn ss58_prefix( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u16> { + pub fn ss58_prefix(&self) -> ::subxt::constants::Address<::core::primitive::u16> { ::subxt::constants::Address::new_static( "System", "SS58Prefix", [ - 116u8, 33u8, 2u8, 170u8, 181u8, 147u8, 171u8, 169u8, 167u8, - 227u8, 41u8, 144u8, 11u8, 236u8, 82u8, 100u8, 74u8, 60u8, - 184u8, 72u8, 169u8, 90u8, 208u8, 135u8, 15u8, 117u8, 10u8, - 123u8, 128u8, 193u8, 29u8, 70u8, + 116u8, 33u8, 2u8, 170u8, 181u8, 147u8, 171u8, 169u8, 167u8, 227u8, + 41u8, 144u8, 11u8, 236u8, 82u8, 100u8, 74u8, 60u8, 184u8, 72u8, 169u8, + 90u8, 208u8, 135u8, 15u8, 117u8, 10u8, 123u8, 128u8, 193u8, 29u8, 70u8, ], ) } @@ -1841,10 +1815,8 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Schedule { pub when: ::core::primitive::u32, - pub maybe_periodic: ::core::option::Option<( - ::core::primitive::u32, - ::core::primitive::u32, - )>, + pub maybe_periodic: + ::core::option::Option<(::core::primitive::u32, ::core::primitive::u32)>, pub priority: ::core::primitive::u8, pub call: ::std::boxed::Box, } @@ -1873,10 +1845,8 @@ pub mod api { pub struct ScheduleNamed { pub id: [::core::primitive::u8; 32usize], pub when: ::core::primitive::u32, - pub maybe_periodic: ::core::option::Option<( - ::core::primitive::u32, - ::core::primitive::u32, - )>, + pub maybe_periodic: + ::core::option::Option<(::core::primitive::u32, ::core::primitive::u32)>, pub priority: ::core::primitive::u8, pub call: ::std::boxed::Box, } @@ -1903,10 +1873,8 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ScheduleAfter { pub after: ::core::primitive::u32, - pub maybe_periodic: ::core::option::Option<( - ::core::primitive::u32, - ::core::primitive::u32, - )>, + pub maybe_periodic: + ::core::option::Option<(::core::primitive::u32, ::core::primitive::u32)>, pub priority: ::core::primitive::u8, pub call: ::std::boxed::Box, } @@ -1922,10 +1890,8 @@ pub mod api { pub struct ScheduleNamedAfter { pub id: [::core::primitive::u8; 32usize], pub after: ::core::primitive::u32, - pub maybe_periodic: ::core::option::Option<( - ::core::primitive::u32, - ::core::primitive::u32, - )>, + pub maybe_periodic: + ::core::option::Option<(::core::primitive::u32, ::core::primitive::u32)>, pub priority: ::core::primitive::u8, pub call: ::std::boxed::Box, } @@ -1952,10 +1918,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 110u8, 118u8, 202u8, 51u8, 211u8, 53u8, 194u8, 114u8, 80u8, - 166u8, 134u8, 18u8, 89u8, 144u8, 204u8, 155u8, 201u8, 237u8, - 138u8, 170u8, 86u8, 16u8, 7u8, 2u8, 12u8, 96u8, 17u8, 148u8, - 147u8, 144u8, 196u8, 4u8, + 110u8, 118u8, 202u8, 51u8, 211u8, 53u8, 194u8, 114u8, 80u8, 166u8, + 134u8, 18u8, 89u8, 144u8, 204u8, 155u8, 201u8, 237u8, 138u8, 170u8, + 86u8, 16u8, 7u8, 2u8, 12u8, 96u8, 17u8, 148u8, 147u8, 144u8, 196u8, + 4u8, ], ) } @@ -1970,10 +1936,9 @@ pub mod api { "cancel", Cancel { when, index }, [ - 81u8, 251u8, 234u8, 17u8, 214u8, 75u8, 19u8, 59u8, 19u8, - 30u8, 89u8, 74u8, 6u8, 216u8, 238u8, 165u8, 7u8, 19u8, 153u8, - 253u8, 161u8, 103u8, 178u8, 227u8, 152u8, 180u8, 80u8, 156u8, - 82u8, 126u8, 132u8, 120u8, + 81u8, 251u8, 234u8, 17u8, 214u8, 75u8, 19u8, 59u8, 19u8, 30u8, 89u8, + 74u8, 6u8, 216u8, 238u8, 165u8, 7u8, 19u8, 153u8, 253u8, 161u8, 103u8, + 178u8, 227u8, 152u8, 180u8, 80u8, 156u8, 82u8, 126u8, 132u8, 120u8, ], ) } @@ -2000,10 +1965,9 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 84u8, 106u8, 212u8, 23u8, 117u8, 33u8, 204u8, 44u8, 79u8, - 178u8, 21u8, 241u8, 151u8, 179u8, 201u8, 1u8, 48u8, 13u8, - 125u8, 176u8, 166u8, 49u8, 118u8, 174u8, 1u8, 187u8, 45u8, - 75u8, 204u8, 219u8, 229u8, 24u8, + 84u8, 106u8, 212u8, 23u8, 117u8, 33u8, 204u8, 44u8, 79u8, 178u8, 21u8, + 241u8, 151u8, 179u8, 201u8, 1u8, 48u8, 13u8, 125u8, 176u8, 166u8, 49u8, + 118u8, 174u8, 1u8, 187u8, 45u8, 75u8, 204u8, 219u8, 229u8, 24u8, ], ) } @@ -2017,10 +1981,9 @@ pub mod api { "cancel_named", CancelNamed { id }, [ - 51u8, 3u8, 140u8, 50u8, 214u8, 211u8, 50u8, 4u8, 19u8, 43u8, - 230u8, 114u8, 18u8, 108u8, 138u8, 67u8, 99u8, 24u8, 255u8, - 11u8, 246u8, 37u8, 192u8, 207u8, 90u8, 157u8, 171u8, 93u8, - 233u8, 189u8, 64u8, 180u8, + 51u8, 3u8, 140u8, 50u8, 214u8, 211u8, 50u8, 4u8, 19u8, 43u8, 230u8, + 114u8, 18u8, 108u8, 138u8, 67u8, 99u8, 24u8, 255u8, 11u8, 246u8, 37u8, + 192u8, 207u8, 90u8, 157u8, 171u8, 93u8, 233u8, 189u8, 64u8, 180u8, ], ) } @@ -2049,10 +2012,9 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 176u8, 3u8, 143u8, 176u8, 250u8, 9u8, 0u8, 75u8, 62u8, 93u8, - 220u8, 19u8, 98u8, 136u8, 178u8, 98u8, 187u8, 57u8, 228u8, - 147u8, 133u8, 88u8, 146u8, 58u8, 113u8, 166u8, 41u8, 25u8, - 163u8, 95u8, 6u8, 47u8, + 176u8, 3u8, 143u8, 176u8, 250u8, 9u8, 0u8, 75u8, 62u8, 93u8, 220u8, + 19u8, 98u8, 136u8, 178u8, 98u8, 187u8, 57u8, 228u8, 147u8, 133u8, 88u8, + 146u8, 58u8, 113u8, 166u8, 41u8, 25u8, 163u8, 95u8, 6u8, 47u8, ], ) } @@ -2083,10 +2045,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 195u8, 224u8, 47u8, 168u8, 137u8, 114u8, 75u8, 129u8, 115u8, - 108u8, 190u8, 194u8, 60u8, 179u8, 249u8, 51u8, 110u8, 4u8, - 109u8, 50u8, 68u8, 121u8, 101u8, 41u8, 203u8, 4u8, 18u8, - 182u8, 245u8, 197u8, 244u8, 195u8, + 195u8, 224u8, 47u8, 168u8, 137u8, 114u8, 75u8, 129u8, 115u8, 108u8, + 190u8, 194u8, 60u8, 179u8, 249u8, 51u8, 110u8, 4u8, 109u8, 50u8, 68u8, + 121u8, 101u8, 41u8, 203u8, 4u8, 18u8, 182u8, 245u8, 197u8, 244u8, + 195u8, ], ) } @@ -2145,8 +2107,7 @@ pub mod api { pub struct Dispatched { pub task: (::core::primitive::u32, ::core::primitive::u32), pub id: ::core::option::Option<[::core::primitive::u8; 32usize]>, - pub result: - ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, + pub result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, } impl ::subxt::events::StaticEvent for Dispatched { const PALLET: &'static str = "Scheduler"; @@ -2225,10 +2186,10 @@ pub mod api { "IncompleteSince", vec![], [ - 149u8, 66u8, 239u8, 67u8, 235u8, 219u8, 101u8, 182u8, 145u8, - 56u8, 252u8, 150u8, 253u8, 221u8, 125u8, 57u8, 38u8, 152u8, - 153u8, 31u8, 92u8, 238u8, 66u8, 246u8, 104u8, 163u8, 94u8, - 73u8, 222u8, 168u8, 193u8, 227u8, + 149u8, 66u8, 239u8, 67u8, 235u8, 219u8, 101u8, 182u8, 145u8, 56u8, + 252u8, 150u8, 253u8, 221u8, 125u8, 57u8, 38u8, 152u8, 153u8, 31u8, + 92u8, 238u8, 66u8, 246u8, 104u8, 163u8, 94u8, 73u8, 222u8, 168u8, + 193u8, 227u8, ], ) } @@ -2258,14 +2219,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Scheduler", "Agenda", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 159u8, 237u8, 79u8, 176u8, 214u8, 27u8, 183u8, 165u8, 63u8, - 185u8, 233u8, 151u8, 81u8, 170u8, 97u8, 115u8, 47u8, 90u8, - 254u8, 2u8, 66u8, 209u8, 3u8, 247u8, 92u8, 11u8, 54u8, 144u8, - 88u8, 172u8, 127u8, 143u8, + 159u8, 237u8, 79u8, 176u8, 214u8, 27u8, 183u8, 165u8, 63u8, 185u8, + 233u8, 151u8, 81u8, 170u8, 97u8, 115u8, 47u8, 90u8, 254u8, 2u8, 66u8, + 209u8, 3u8, 247u8, 92u8, 11u8, 54u8, 144u8, 88u8, 172u8, 127u8, 143u8, ], ) } @@ -2296,10 +2256,9 @@ pub mod api { "Agenda", Vec::new(), [ - 159u8, 237u8, 79u8, 176u8, 214u8, 27u8, 183u8, 165u8, 63u8, - 185u8, 233u8, 151u8, 81u8, 170u8, 97u8, 115u8, 47u8, 90u8, - 254u8, 2u8, 66u8, 209u8, 3u8, 247u8, 92u8, 11u8, 54u8, 144u8, - 88u8, 172u8, 127u8, 143u8, + 159u8, 237u8, 79u8, 176u8, 214u8, 27u8, 183u8, 165u8, 63u8, 185u8, + 233u8, 151u8, 81u8, 170u8, 97u8, 115u8, 47u8, 90u8, 254u8, 2u8, 66u8, + 209u8, 3u8, 247u8, 92u8, 11u8, 54u8, 144u8, 88u8, 172u8, 127u8, 143u8, ], ) } @@ -2320,14 +2279,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Scheduler", "Lookup", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 82u8, 20u8, 178u8, 101u8, 108u8, 198u8, 71u8, 99u8, 16u8, - 175u8, 15u8, 187u8, 229u8, 243u8, 140u8, 200u8, 99u8, 77u8, - 248u8, 178u8, 45u8, 121u8, 193u8, 67u8, 165u8, 43u8, 234u8, - 211u8, 158u8, 250u8, 103u8, 243u8, + 82u8, 20u8, 178u8, 101u8, 108u8, 198u8, 71u8, 99u8, 16u8, 175u8, 15u8, + 187u8, 229u8, 243u8, 140u8, 200u8, 99u8, 77u8, 248u8, 178u8, 45u8, + 121u8, 193u8, 67u8, 165u8, 43u8, 234u8, 211u8, 158u8, 250u8, 103u8, + 243u8, ], ) } @@ -2349,10 +2308,10 @@ pub mod api { "Lookup", Vec::new(), [ - 82u8, 20u8, 178u8, 101u8, 108u8, 198u8, 71u8, 99u8, 16u8, - 175u8, 15u8, 187u8, 229u8, 243u8, 140u8, 200u8, 99u8, 77u8, - 248u8, 178u8, 45u8, 121u8, 193u8, 67u8, 165u8, 43u8, 234u8, - 211u8, 158u8, 250u8, 103u8, 243u8, + 82u8, 20u8, 178u8, 101u8, 108u8, 198u8, 71u8, 99u8, 16u8, 175u8, 15u8, + 187u8, 229u8, 243u8, 140u8, 200u8, 99u8, 77u8, 248u8, 178u8, 45u8, + 121u8, 193u8, 67u8, 165u8, 43u8, 234u8, 211u8, 158u8, 250u8, 103u8, + 243u8, ], ) } @@ -2365,17 +2324,16 @@ pub mod api { #[doc = " The maximum weight that may be scheduled per block for any dispatchables."] pub fn maximum_weight( &self, - ) -> ::subxt::constants::Address< - runtime_types::sp_weights::weight_v2::Weight, - > { + ) -> ::subxt::constants::Address + { ::subxt::constants::Address::new_static( "Scheduler", "MaximumWeight", [ - 206u8, 61u8, 253u8, 247u8, 163u8, 40u8, 161u8, 52u8, 134u8, - 140u8, 206u8, 83u8, 44u8, 166u8, 226u8, 115u8, 181u8, 14u8, - 227u8, 130u8, 210u8, 32u8, 85u8, 29u8, 230u8, 97u8, 130u8, - 165u8, 147u8, 134u8, 106u8, 76u8, + 206u8, 61u8, 253u8, 247u8, 163u8, 40u8, 161u8, 52u8, 134u8, 140u8, + 206u8, 83u8, 44u8, 166u8, 226u8, 115u8, 181u8, 14u8, 227u8, 130u8, + 210u8, 32u8, 85u8, 29u8, 230u8, 97u8, 130u8, 165u8, 147u8, 134u8, + 106u8, 76u8, ], ) } @@ -2387,10 +2345,10 @@ pub mod api { "Scheduler", "MaxScheduledPerBlock", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -2468,10 +2426,9 @@ pub mod api { "note_preimage", NotePreimage { bytes }, [ - 77u8, 48u8, 104u8, 3u8, 254u8, 65u8, 106u8, 95u8, 204u8, - 89u8, 149u8, 29u8, 144u8, 188u8, 99u8, 23u8, 146u8, 142u8, - 35u8, 17u8, 125u8, 130u8, 31u8, 206u8, 106u8, 83u8, 163u8, - 192u8, 81u8, 23u8, 232u8, 230u8, + 77u8, 48u8, 104u8, 3u8, 254u8, 65u8, 106u8, 95u8, 204u8, 89u8, 149u8, + 29u8, 144u8, 188u8, 99u8, 23u8, 146u8, 142u8, 35u8, 17u8, 125u8, 130u8, + 31u8, 206u8, 106u8, 83u8, 163u8, 192u8, 81u8, 23u8, 232u8, 230u8, ], ) } @@ -2490,10 +2447,9 @@ pub mod api { "unnote_preimage", UnnotePreimage { hash }, [ - 211u8, 204u8, 205u8, 58u8, 33u8, 179u8, 68u8, 74u8, 149u8, - 138u8, 213u8, 45u8, 140u8, 27u8, 106u8, 81u8, 68u8, 212u8, - 147u8, 116u8, 27u8, 130u8, 84u8, 34u8, 231u8, 197u8, 135u8, - 8u8, 19u8, 242u8, 207u8, 17u8, + 211u8, 204u8, 205u8, 58u8, 33u8, 179u8, 68u8, 74u8, 149u8, 138u8, + 213u8, 45u8, 140u8, 27u8, 106u8, 81u8, 68u8, 212u8, 147u8, 116u8, 27u8, + 130u8, 84u8, 34u8, 231u8, 197u8, 135u8, 8u8, 19u8, 242u8, 207u8, 17u8, ], ) } @@ -2510,10 +2466,9 @@ pub mod api { "request_preimage", RequestPreimage { hash }, [ - 195u8, 26u8, 146u8, 255u8, 79u8, 43u8, 73u8, 60u8, 115u8, - 78u8, 99u8, 197u8, 137u8, 95u8, 139u8, 141u8, 79u8, 213u8, - 170u8, 169u8, 127u8, 30u8, 236u8, 65u8, 38u8, 16u8, 118u8, - 228u8, 141u8, 83u8, 162u8, 233u8, + 195u8, 26u8, 146u8, 255u8, 79u8, 43u8, 73u8, 60u8, 115u8, 78u8, 99u8, + 197u8, 137u8, 95u8, 139u8, 141u8, 79u8, 213u8, 170u8, 169u8, 127u8, + 30u8, 236u8, 65u8, 38u8, 16u8, 118u8, 228u8, 141u8, 83u8, 162u8, 233u8, ], ) } @@ -2529,10 +2484,9 @@ pub mod api { "unrequest_preimage", UnrequestPreimage { hash }, [ - 143u8, 225u8, 239u8, 44u8, 237u8, 83u8, 18u8, 105u8, 101u8, - 68u8, 111u8, 116u8, 66u8, 212u8, 63u8, 190u8, 38u8, 32u8, - 105u8, 152u8, 69u8, 177u8, 193u8, 15u8, 60u8, 26u8, 95u8, - 130u8, 11u8, 113u8, 187u8, 108u8, + 143u8, 225u8, 239u8, 44u8, 237u8, 83u8, 18u8, 105u8, 101u8, 68u8, + 111u8, 116u8, 66u8, 212u8, 63u8, 190u8, 38u8, 32u8, 105u8, 152u8, 69u8, + 177u8, 193u8, 15u8, 60u8, 26u8, 95u8, 130u8, 11u8, 113u8, 187u8, 108u8, ], ) } @@ -2615,14 +2569,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Preimage", "StatusFor", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 103u8, 208u8, 88u8, 167u8, 244u8, 198u8, 129u8, 134u8, 182u8, - 80u8, 71u8, 192u8, 73u8, 92u8, 190u8, 15u8, 20u8, 132u8, - 37u8, 108u8, 88u8, 233u8, 18u8, 145u8, 9u8, 235u8, 5u8, - 132u8, 42u8, 17u8, 227u8, 56u8, + 103u8, 208u8, 88u8, 167u8, 244u8, 198u8, 129u8, 134u8, 182u8, 80u8, + 71u8, 192u8, 73u8, 92u8, 190u8, 15u8, 20u8, 132u8, 37u8, 108u8, 88u8, + 233u8, 18u8, 145u8, 9u8, 235u8, 5u8, 132u8, 42u8, 17u8, 227u8, 56u8, ], ) } @@ -2644,10 +2597,9 @@ pub mod api { "StatusFor", Vec::new(), [ - 103u8, 208u8, 88u8, 167u8, 244u8, 198u8, 129u8, 134u8, 182u8, - 80u8, 71u8, 192u8, 73u8, 92u8, 190u8, 15u8, 20u8, 132u8, - 37u8, 108u8, 88u8, 233u8, 18u8, 145u8, 9u8, 235u8, 5u8, - 132u8, 42u8, 17u8, 227u8, 56u8, + 103u8, 208u8, 88u8, 167u8, 244u8, 198u8, 129u8, 134u8, 182u8, 80u8, + 71u8, 192u8, 73u8, 92u8, 190u8, 15u8, 20u8, 132u8, 37u8, 108u8, 88u8, + 233u8, 18u8, 145u8, 9u8, 235u8, 5u8, 132u8, 42u8, 17u8, 227u8, 56u8, ], ) } @@ -2657,9 +2609,7 @@ pub mod api { _1: impl ::std::borrow::Borrow<::core::primitive::u32>, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::sp_core::bounded::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, + runtime_types::sp_core::bounded::bounded_vec::BoundedVec<::core::primitive::u8>, ::subxt::storage::address::Yes, (), ::subxt::storage::address::Yes, @@ -2668,18 +2618,13 @@ pub mod api { "Preimage", "PreimageFor", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 96u8, 74u8, 30u8, 112u8, 120u8, 41u8, 52u8, 187u8, 252u8, - 68u8, 42u8, 5u8, 61u8, 228u8, 250u8, 192u8, 224u8, 61u8, - 53u8, 222u8, 95u8, 148u8, 6u8, 53u8, 43u8, 152u8, 88u8, 58u8, - 185u8, 234u8, 131u8, 124u8, + 96u8, 74u8, 30u8, 112u8, 120u8, 41u8, 52u8, 187u8, 252u8, 68u8, 42u8, + 5u8, 61u8, 228u8, 250u8, 192u8, 224u8, 61u8, 53u8, 222u8, 95u8, 148u8, + 6u8, 53u8, 43u8, 152u8, 88u8, 58u8, 185u8, 234u8, 131u8, 124u8, ], ) } @@ -2687,9 +2632,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::sp_core::bounded::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, + runtime_types::sp_core::bounded::bounded_vec::BoundedVec<::core::primitive::u8>, (), (), ::subxt::storage::address::Yes, @@ -2699,10 +2642,9 @@ pub mod api { "PreimageFor", Vec::new(), [ - 96u8, 74u8, 30u8, 112u8, 120u8, 41u8, 52u8, 187u8, 252u8, - 68u8, 42u8, 5u8, 61u8, 228u8, 250u8, 192u8, 224u8, 61u8, - 53u8, 222u8, 95u8, 148u8, 6u8, 53u8, 43u8, 152u8, 88u8, 58u8, - 185u8, 234u8, 131u8, 124u8, + 96u8, 74u8, 30u8, 112u8, 120u8, 41u8, 52u8, 187u8, 252u8, 68u8, 42u8, + 5u8, 61u8, 228u8, 250u8, 192u8, 224u8, 61u8, 53u8, 222u8, 95u8, 148u8, + 6u8, 53u8, 43u8, 152u8, 88u8, 58u8, 185u8, 234u8, 131u8, 124u8, ], ) } @@ -2769,8 +2711,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PlanConfigChange { - pub config: - runtime_types::sp_consensus_babe::digests::NextConfigDescriptor, + pub config: runtime_types::sp_consensus_babe::digests::NextConfigDescriptor, } pub struct TransactionApi; impl TransactionApi { @@ -2780,23 +2721,27 @@ pub mod api { #[doc = "be reported."] pub fn report_equivocation( &self, - equivocation_proof : runtime_types :: sp_consensus_slots :: EquivocationProof < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u32 , runtime_types :: sp_runtime :: traits :: BlakeTwo256 > , runtime_types :: sp_consensus_babe :: app :: Public >, + equivocation_proof: runtime_types::sp_consensus_slots::EquivocationProof< + runtime_types::sp_runtime::generic::header::Header< + ::core::primitive::u32, + runtime_types::sp_runtime::traits::BlakeTwo256, + >, + runtime_types::sp_consensus_babe::app::Public, + >, key_owner_proof: runtime_types::sp_session::MembershipProof, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Babe", "report_equivocation", ReportEquivocation { - equivocation_proof: ::std::boxed::Box::new( - equivocation_proof, - ), + equivocation_proof: ::std::boxed::Box::new(equivocation_proof), key_owner_proof, }, [ - 177u8, 237u8, 107u8, 138u8, 237u8, 233u8, 30u8, 195u8, 112u8, - 176u8, 185u8, 113u8, 157u8, 221u8, 134u8, 151u8, 62u8, 151u8, - 64u8, 164u8, 254u8, 112u8, 2u8, 94u8, 175u8, 79u8, 160u8, - 3u8, 72u8, 145u8, 244u8, 137u8, + 177u8, 237u8, 107u8, 138u8, 237u8, 233u8, 30u8, 195u8, 112u8, 176u8, + 185u8, 113u8, 157u8, 221u8, 134u8, 151u8, 62u8, 151u8, 64u8, 164u8, + 254u8, 112u8, 2u8, 94u8, 175u8, 79u8, 160u8, 3u8, 72u8, 145u8, 244u8, + 137u8, ], ) } @@ -2810,23 +2755,27 @@ pub mod api { #[doc = "reporter."] pub fn report_equivocation_unsigned( &self, - equivocation_proof : runtime_types :: sp_consensus_slots :: EquivocationProof < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u32 , runtime_types :: sp_runtime :: traits :: BlakeTwo256 > , runtime_types :: sp_consensus_babe :: app :: Public >, + equivocation_proof: runtime_types::sp_consensus_slots::EquivocationProof< + runtime_types::sp_runtime::generic::header::Header< + ::core::primitive::u32, + runtime_types::sp_runtime::traits::BlakeTwo256, + >, + runtime_types::sp_consensus_babe::app::Public, + >, key_owner_proof: runtime_types::sp_session::MembershipProof, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Babe", "report_equivocation_unsigned", ReportEquivocationUnsigned { - equivocation_proof: ::std::boxed::Box::new( - equivocation_proof, - ), + equivocation_proof: ::std::boxed::Box::new(equivocation_proof), key_owner_proof, }, [ - 56u8, 103u8, 238u8, 118u8, 61u8, 192u8, 222u8, 87u8, 254u8, - 24u8, 138u8, 219u8, 210u8, 85u8, 201u8, 147u8, 128u8, 49u8, - 199u8, 144u8, 46u8, 158u8, 163u8, 31u8, 101u8, 224u8, 72u8, - 98u8, 68u8, 120u8, 215u8, 19u8, + 56u8, 103u8, 238u8, 118u8, 61u8, 192u8, 222u8, 87u8, 254u8, 24u8, + 138u8, 219u8, 210u8, 85u8, 201u8, 147u8, 128u8, 49u8, 199u8, 144u8, + 46u8, 158u8, 163u8, 31u8, 101u8, 224u8, 72u8, 98u8, 68u8, 120u8, 215u8, + 19u8, ], ) } @@ -2836,17 +2785,16 @@ pub mod api { #[doc = "not been enacted yet."] pub fn plan_config_change( &self, - config : runtime_types :: sp_consensus_babe :: digests :: NextConfigDescriptor, + config: runtime_types::sp_consensus_babe::digests::NextConfigDescriptor, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Babe", "plan_config_change", PlanConfigChange { config }, [ - 229u8, 157u8, 41u8, 58u8, 56u8, 4u8, 52u8, 107u8, 104u8, - 20u8, 42u8, 110u8, 1u8, 17u8, 45u8, 196u8, 30u8, 135u8, 63u8, - 46u8, 40u8, 137u8, 209u8, 37u8, 24u8, 108u8, 251u8, 189u8, - 77u8, 208u8, 74u8, 32u8, + 229u8, 157u8, 41u8, 58u8, 56u8, 4u8, 52u8, 107u8, 104u8, 20u8, 42u8, + 110u8, 1u8, 17u8, 45u8, 196u8, 30u8, 135u8, 63u8, 46u8, 40u8, 137u8, + 209u8, 37u8, 24u8, 108u8, 251u8, 189u8, 77u8, 208u8, 74u8, 32u8, ], ) } @@ -2871,10 +2819,9 @@ pub mod api { "EpochIndex", vec![], [ - 51u8, 27u8, 91u8, 156u8, 118u8, 99u8, 46u8, 219u8, 190u8, - 147u8, 205u8, 23u8, 106u8, 169u8, 121u8, 218u8, 208u8, 235u8, - 135u8, 127u8, 243u8, 41u8, 55u8, 243u8, 235u8, 122u8, 57u8, - 86u8, 37u8, 90u8, 208u8, 71u8, + 51u8, 27u8, 91u8, 156u8, 118u8, 99u8, 46u8, 219u8, 190u8, 147u8, 205u8, + 23u8, 106u8, 169u8, 121u8, 218u8, 208u8, 235u8, 135u8, 127u8, 243u8, + 41u8, 55u8, 243u8, 235u8, 122u8, 57u8, 86u8, 37u8, 90u8, 208u8, 71u8, ], ) } @@ -2896,10 +2843,9 @@ pub mod api { "Authorities", vec![], [ - 61u8, 8u8, 133u8, 111u8, 169u8, 120u8, 0u8, 213u8, 31u8, - 159u8, 204u8, 212u8, 18u8, 205u8, 93u8, 84u8, 140u8, 108u8, - 136u8, 209u8, 234u8, 107u8, 145u8, 9u8, 204u8, 224u8, 105u8, - 9u8, 238u8, 241u8, 65u8, 30u8, + 61u8, 8u8, 133u8, 111u8, 169u8, 120u8, 0u8, 213u8, 31u8, 159u8, 204u8, + 212u8, 18u8, 205u8, 93u8, 84u8, 140u8, 108u8, 136u8, 209u8, 234u8, + 107u8, 145u8, 9u8, 204u8, 224u8, 105u8, 9u8, 238u8, 241u8, 65u8, 30u8, ], ) } @@ -2919,10 +2865,10 @@ pub mod api { "GenesisSlot", vec![], [ - 234u8, 127u8, 243u8, 100u8, 124u8, 160u8, 66u8, 248u8, 48u8, - 218u8, 61u8, 52u8, 54u8, 142u8, 158u8, 77u8, 32u8, 63u8, - 156u8, 39u8, 94u8, 255u8, 192u8, 238u8, 170u8, 118u8, 58u8, - 42u8, 199u8, 61u8, 199u8, 77u8, + 234u8, 127u8, 243u8, 100u8, 124u8, 160u8, 66u8, 248u8, 48u8, 218u8, + 61u8, 52u8, 54u8, 142u8, 158u8, 77u8, 32u8, 63u8, 156u8, 39u8, 94u8, + 255u8, 192u8, 238u8, 170u8, 118u8, 58u8, 42u8, 199u8, 61u8, 199u8, + 77u8, ], ) } @@ -2941,10 +2887,10 @@ pub mod api { "CurrentSlot", vec![], [ - 139u8, 237u8, 185u8, 137u8, 251u8, 179u8, 69u8, 167u8, 133u8, - 168u8, 204u8, 64u8, 178u8, 123u8, 92u8, 250u8, 119u8, 190u8, - 208u8, 178u8, 208u8, 176u8, 124u8, 187u8, 74u8, 165u8, 33u8, - 78u8, 161u8, 206u8, 8u8, 108u8, + 139u8, 237u8, 185u8, 137u8, 251u8, 179u8, 69u8, 167u8, 133u8, 168u8, + 204u8, 64u8, 178u8, 123u8, 92u8, 250u8, 119u8, 190u8, 208u8, 178u8, + 208u8, 176u8, 124u8, 187u8, 74u8, 165u8, 33u8, 78u8, 161u8, 206u8, 8u8, + 108u8, ], ) } @@ -2972,10 +2918,10 @@ pub mod api { "Randomness", vec![], [ - 191u8, 197u8, 25u8, 164u8, 104u8, 248u8, 247u8, 193u8, 244u8, - 60u8, 181u8, 195u8, 248u8, 90u8, 41u8, 199u8, 82u8, 123u8, - 72u8, 126u8, 18u8, 17u8, 128u8, 215u8, 34u8, 251u8, 227u8, - 70u8, 166u8, 10u8, 104u8, 140u8, + 191u8, 197u8, 25u8, 164u8, 104u8, 248u8, 247u8, 193u8, 244u8, 60u8, + 181u8, 195u8, 248u8, 90u8, 41u8, 199u8, 82u8, 123u8, 72u8, 126u8, 18u8, + 17u8, 128u8, 215u8, 34u8, 251u8, 227u8, 70u8, 166u8, 10u8, 104u8, + 140u8, ], ) } @@ -2994,10 +2940,9 @@ pub mod api { "PendingEpochConfigChange", vec![], [ - 4u8, 201u8, 0u8, 204u8, 47u8, 246u8, 4u8, 185u8, 163u8, - 242u8, 242u8, 152u8, 29u8, 222u8, 71u8, 127u8, 49u8, 203u8, - 206u8, 180u8, 244u8, 50u8, 80u8, 49u8, 199u8, 97u8, 3u8, - 170u8, 156u8, 139u8, 106u8, 113u8, + 4u8, 201u8, 0u8, 204u8, 47u8, 246u8, 4u8, 185u8, 163u8, 242u8, 242u8, + 152u8, 29u8, 222u8, 71u8, 127u8, 49u8, 203u8, 206u8, 180u8, 244u8, + 50u8, 80u8, 49u8, 199u8, 97u8, 3u8, 170u8, 156u8, 139u8, 106u8, 113u8, ], ) } @@ -3016,10 +2961,10 @@ pub mod api { "NextRandomness", vec![], [ - 185u8, 98u8, 45u8, 109u8, 253u8, 38u8, 238u8, 221u8, 240u8, - 29u8, 38u8, 107u8, 118u8, 117u8, 131u8, 115u8, 21u8, 255u8, - 203u8, 81u8, 243u8, 251u8, 91u8, 60u8, 163u8, 202u8, 125u8, - 193u8, 173u8, 234u8, 166u8, 92u8, + 185u8, 98u8, 45u8, 109u8, 253u8, 38u8, 238u8, 221u8, 240u8, 29u8, 38u8, + 107u8, 118u8, 117u8, 131u8, 115u8, 21u8, 255u8, 203u8, 81u8, 243u8, + 251u8, 91u8, 60u8, 163u8, 202u8, 125u8, 193u8, 173u8, 234u8, 166u8, + 92u8, ], ) } @@ -3041,10 +2986,9 @@ pub mod api { "NextAuthorities", vec![], [ - 201u8, 193u8, 164u8, 18u8, 155u8, 253u8, 124u8, 163u8, 143u8, - 73u8, 212u8, 20u8, 241u8, 108u8, 110u8, 5u8, 171u8, 66u8, - 224u8, 208u8, 10u8, 65u8, 148u8, 164u8, 1u8, 12u8, 216u8, - 83u8, 20u8, 226u8, 254u8, 183u8, + 201u8, 193u8, 164u8, 18u8, 155u8, 253u8, 124u8, 163u8, 143u8, 73u8, + 212u8, 20u8, 241u8, 108u8, 110u8, 5u8, 171u8, 66u8, 224u8, 208u8, 10u8, + 65u8, 148u8, 164u8, 1u8, 12u8, 216u8, 83u8, 20u8, 226u8, 254u8, 183u8, ], ) } @@ -3071,10 +3015,9 @@ pub mod api { "SegmentIndex", vec![], [ - 128u8, 45u8, 87u8, 58u8, 174u8, 152u8, 241u8, 156u8, 56u8, - 192u8, 19u8, 45u8, 75u8, 160u8, 35u8, 253u8, 145u8, 11u8, - 178u8, 81u8, 114u8, 117u8, 112u8, 107u8, 163u8, 208u8, 240u8, - 151u8, 102u8, 176u8, 246u8, 5u8, + 128u8, 45u8, 87u8, 58u8, 174u8, 152u8, 241u8, 156u8, 56u8, 192u8, 19u8, + 45u8, 75u8, 160u8, 35u8, 253u8, 145u8, 11u8, 178u8, 81u8, 114u8, 117u8, + 112u8, 107u8, 163u8, 208u8, 240u8, 151u8, 102u8, 176u8, 246u8, 5u8, ], ) } @@ -3094,14 +3037,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Babe", "UnderConstruction", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 180u8, 4u8, 149u8, 245u8, 231u8, 92u8, 99u8, 170u8, 254u8, - 172u8, 182u8, 3u8, 152u8, 156u8, 132u8, 196u8, 140u8, 97u8, - 7u8, 84u8, 220u8, 89u8, 195u8, 177u8, 235u8, 51u8, 98u8, - 144u8, 73u8, 238u8, 59u8, 164u8, + 180u8, 4u8, 149u8, 245u8, 231u8, 92u8, 99u8, 170u8, 254u8, 172u8, + 182u8, 3u8, 152u8, 156u8, 132u8, 196u8, 140u8, 97u8, 7u8, 84u8, 220u8, + 89u8, 195u8, 177u8, 235u8, 51u8, 98u8, 144u8, 73u8, 238u8, 59u8, 164u8, ], ) } @@ -3122,10 +3064,9 @@ pub mod api { "UnderConstruction", Vec::new(), [ - 180u8, 4u8, 149u8, 245u8, 231u8, 92u8, 99u8, 170u8, 254u8, - 172u8, 182u8, 3u8, 152u8, 156u8, 132u8, 196u8, 140u8, 97u8, - 7u8, 84u8, 220u8, 89u8, 195u8, 177u8, 235u8, 51u8, 98u8, - 144u8, 73u8, 238u8, 59u8, 164u8, + 180u8, 4u8, 149u8, 245u8, 231u8, 92u8, 99u8, 170u8, 254u8, 172u8, + 182u8, 3u8, 152u8, 156u8, 132u8, 196u8, 140u8, 97u8, 7u8, 84u8, 220u8, + 89u8, 195u8, 177u8, 235u8, 51u8, 98u8, 144u8, 73u8, 238u8, 59u8, 164u8, ], ) } @@ -3135,9 +3076,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - ::core::option::Option< - runtime_types::sp_consensus_babe::digests::PreDigest, - >, + ::core::option::Option, ::subxt::storage::address::Yes, (), (), @@ -3147,10 +3086,10 @@ pub mod api { "Initialized", vec![], [ - 142u8, 101u8, 250u8, 113u8, 93u8, 201u8, 157u8, 18u8, 166u8, - 153u8, 59u8, 197u8, 107u8, 247u8, 124u8, 110u8, 202u8, 67u8, - 62u8, 57u8, 186u8, 134u8, 49u8, 182u8, 149u8, 44u8, 255u8, - 85u8, 87u8, 177u8, 149u8, 121u8, + 142u8, 101u8, 250u8, 113u8, 93u8, 201u8, 157u8, 18u8, 166u8, 153u8, + 59u8, 197u8, 107u8, 247u8, 124u8, 110u8, 202u8, 67u8, 62u8, 57u8, + 186u8, 134u8, 49u8, 182u8, 149u8, 44u8, 255u8, 85u8, 87u8, 177u8, + 149u8, 121u8, ], ) } @@ -3172,10 +3111,10 @@ pub mod api { "AuthorVrfRandomness", vec![], [ - 66u8, 235u8, 74u8, 252u8, 222u8, 135u8, 19u8, 28u8, 74u8, - 191u8, 170u8, 197u8, 207u8, 127u8, 77u8, 121u8, 138u8, 138u8, - 110u8, 187u8, 34u8, 14u8, 230u8, 43u8, 241u8, 241u8, 63u8, - 163u8, 53u8, 179u8, 250u8, 247u8, + 66u8, 235u8, 74u8, 252u8, 222u8, 135u8, 19u8, 28u8, 74u8, 191u8, 170u8, + 197u8, 207u8, 127u8, 77u8, 121u8, 138u8, 138u8, 110u8, 187u8, 34u8, + 14u8, 230u8, 43u8, 241u8, 241u8, 63u8, 163u8, 53u8, 179u8, 250u8, + 247u8, ], ) } @@ -3198,10 +3137,10 @@ pub mod api { "EpochStart", vec![], [ - 196u8, 39u8, 241u8, 20u8, 150u8, 180u8, 136u8, 4u8, 195u8, - 205u8, 218u8, 10u8, 130u8, 131u8, 168u8, 243u8, 207u8, 249u8, - 58u8, 195u8, 177u8, 119u8, 110u8, 243u8, 241u8, 3u8, 245u8, - 56u8, 157u8, 5u8, 68u8, 60u8, + 196u8, 39u8, 241u8, 20u8, 150u8, 180u8, 136u8, 4u8, 195u8, 205u8, + 218u8, 10u8, 130u8, 131u8, 168u8, 243u8, 207u8, 249u8, 58u8, 195u8, + 177u8, 119u8, 110u8, 243u8, 241u8, 3u8, 245u8, 56u8, 157u8, 5u8, 68u8, + 60u8, ], ) } @@ -3224,10 +3163,10 @@ pub mod api { "Lateness", vec![], [ - 229u8, 230u8, 224u8, 89u8, 49u8, 213u8, 198u8, 236u8, 144u8, - 56u8, 193u8, 234u8, 62u8, 242u8, 191u8, 199u8, 105u8, 131u8, - 74u8, 63u8, 75u8, 1u8, 210u8, 49u8, 3u8, 128u8, 18u8, 77u8, - 219u8, 146u8, 60u8, 88u8, + 229u8, 230u8, 224u8, 89u8, 49u8, 213u8, 198u8, 236u8, 144u8, 56u8, + 193u8, 234u8, 62u8, 242u8, 191u8, 199u8, 105u8, 131u8, 74u8, 63u8, + 75u8, 1u8, 210u8, 49u8, 3u8, 128u8, 18u8, 77u8, 219u8, 146u8, 60u8, + 88u8, ], ) } @@ -3247,10 +3186,10 @@ pub mod api { "EpochConfig", vec![], [ - 41u8, 118u8, 141u8, 244u8, 72u8, 17u8, 125u8, 203u8, 43u8, - 153u8, 203u8, 119u8, 117u8, 223u8, 123u8, 133u8, 73u8, 235u8, - 130u8, 21u8, 160u8, 167u8, 16u8, 173u8, 177u8, 35u8, 117u8, - 97u8, 149u8, 49u8, 220u8, 24u8, + 41u8, 118u8, 141u8, 244u8, 72u8, 17u8, 125u8, 203u8, 43u8, 153u8, + 203u8, 119u8, 117u8, 223u8, 123u8, 133u8, 73u8, 235u8, 130u8, 21u8, + 160u8, 167u8, 16u8, 173u8, 177u8, 35u8, 117u8, 97u8, 149u8, 49u8, + 220u8, 24u8, ], ) } @@ -3270,10 +3209,10 @@ pub mod api { "NextEpochConfig", vec![], [ - 111u8, 182u8, 144u8, 180u8, 92u8, 146u8, 102u8, 249u8, 196u8, - 229u8, 226u8, 30u8, 25u8, 198u8, 133u8, 9u8, 136u8, 95u8, - 11u8, 151u8, 139u8, 156u8, 105u8, 228u8, 181u8, 12u8, 175u8, - 148u8, 174u8, 33u8, 233u8, 228u8, + 111u8, 182u8, 144u8, 180u8, 92u8, 146u8, 102u8, 249u8, 196u8, 229u8, + 226u8, 30u8, 25u8, 198u8, 133u8, 9u8, 136u8, 95u8, 11u8, 151u8, 139u8, + 156u8, 105u8, 228u8, 181u8, 12u8, 175u8, 148u8, 174u8, 33u8, 233u8, + 228u8, ], ) } @@ -3293,10 +3232,10 @@ pub mod api { "Babe", "EpochDuration", [ - 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, - 190u8, 146u8, 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, - 65u8, 18u8, 191u8, 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, - 220u8, 42u8, 184u8, 239u8, 42u8, 246u8, + 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, 190u8, 146u8, + 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, 65u8, 18u8, 191u8, + 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, 220u8, 42u8, 184u8, 239u8, 42u8, + 246u8, ], ) } @@ -3312,10 +3251,10 @@ pub mod api { "Babe", "ExpectedBlockTime", [ - 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, - 190u8, 146u8, 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, - 65u8, 18u8, 191u8, 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, - 220u8, 42u8, 184u8, 239u8, 42u8, 246u8, + 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, 190u8, 146u8, + 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, 65u8, 18u8, 191u8, + 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, 220u8, 42u8, 184u8, 239u8, 42u8, + 246u8, ], ) } @@ -3327,10 +3266,10 @@ pub mod api { "Babe", "MaxAuthorities", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -3376,19 +3315,15 @@ pub mod api { #[doc = " `on_finalize`)"] #[doc = "- 1 event handler `on_timestamp_set`. Must be `O(1)`."] #[doc = "# "] - pub fn set( - &self, - now: ::core::primitive::u64, - ) -> ::subxt::tx::Payload { + pub fn set(&self, now: ::core::primitive::u64) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Timestamp", "set", Set { now }, [ - 6u8, 97u8, 172u8, 236u8, 118u8, 238u8, 228u8, 114u8, 15u8, - 115u8, 102u8, 85u8, 66u8, 151u8, 16u8, 33u8, 187u8, 17u8, - 166u8, 88u8, 127u8, 214u8, 182u8, 51u8, 168u8, 88u8, 43u8, - 101u8, 185u8, 8u8, 1u8, 28u8, + 6u8, 97u8, 172u8, 236u8, 118u8, 238u8, 228u8, 114u8, 15u8, 115u8, + 102u8, 85u8, 66u8, 151u8, 16u8, 33u8, 187u8, 17u8, 166u8, 88u8, 127u8, + 214u8, 182u8, 51u8, 168u8, 88u8, 43u8, 101u8, 185u8, 8u8, 1u8, 28u8, ], ) } @@ -3413,10 +3348,9 @@ pub mod api { "Now", vec![], [ - 148u8, 53u8, 50u8, 54u8, 13u8, 161u8, 57u8, 150u8, 16u8, - 83u8, 144u8, 221u8, 59u8, 75u8, 158u8, 130u8, 39u8, 123u8, - 106u8, 134u8, 202u8, 185u8, 83u8, 85u8, 60u8, 41u8, 120u8, - 96u8, 210u8, 34u8, 2u8, 250u8, + 148u8, 53u8, 50u8, 54u8, 13u8, 161u8, 57u8, 150u8, 16u8, 83u8, 144u8, + 221u8, 59u8, 75u8, 158u8, 130u8, 39u8, 123u8, 106u8, 134u8, 202u8, + 185u8, 83u8, 85u8, 60u8, 41u8, 120u8, 96u8, 210u8, 34u8, 2u8, 250u8, ], ) } @@ -3435,10 +3369,9 @@ pub mod api { "DidUpdate", vec![], [ - 70u8, 13u8, 92u8, 186u8, 80u8, 151u8, 167u8, 90u8, 158u8, - 232u8, 175u8, 13u8, 103u8, 135u8, 2u8, 78u8, 16u8, 6u8, 39u8, - 158u8, 167u8, 85u8, 27u8, 47u8, 122u8, 73u8, 127u8, 26u8, - 35u8, 168u8, 72u8, 204u8, + 70u8, 13u8, 92u8, 186u8, 80u8, 151u8, 167u8, 90u8, 158u8, 232u8, 175u8, + 13u8, 103u8, 135u8, 2u8, 78u8, 16u8, 6u8, 39u8, 158u8, 167u8, 85u8, + 27u8, 47u8, 122u8, 73u8, 127u8, 26u8, 35u8, 168u8, 72u8, 204u8, ], ) } @@ -3459,10 +3392,10 @@ pub mod api { "Timestamp", "MinimumPeriod", [ - 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, - 190u8, 146u8, 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, - 65u8, 18u8, 191u8, 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, - 220u8, 42u8, 184u8, 239u8, 42u8, 246u8, + 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, 190u8, 146u8, + 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, 65u8, 18u8, 191u8, + 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, 220u8, 42u8, 184u8, 239u8, 42u8, + 246u8, ], ) } @@ -3563,19 +3496,15 @@ pub mod api { #[doc = "-------------------"] #[doc = "- DB Weight: 1 Read/Write (Accounts)"] #[doc = "# "] - pub fn claim( - &self, - index: ::core::primitive::u32, - ) -> ::subxt::tx::Payload { + pub fn claim(&self, index: ::core::primitive::u32) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Indices", "claim", Claim { index }, [ - 5u8, 24u8, 11u8, 173u8, 226u8, 170u8, 0u8, 30u8, 193u8, - 102u8, 214u8, 59u8, 252u8, 32u8, 221u8, 88u8, 196u8, 189u8, - 244u8, 18u8, 233u8, 37u8, 228u8, 248u8, 76u8, 175u8, 212u8, - 233u8, 238u8, 203u8, 162u8, 68u8, + 5u8, 24u8, 11u8, 173u8, 226u8, 170u8, 0u8, 30u8, 193u8, 102u8, 214u8, + 59u8, 252u8, 32u8, 221u8, 88u8, 196u8, 189u8, 244u8, 18u8, 233u8, 37u8, + 228u8, 248u8, 76u8, 175u8, 212u8, 233u8, 238u8, 203u8, 162u8, 68u8, ], ) } @@ -3609,10 +3538,9 @@ pub mod api { "transfer", Transfer { new, index }, [ - 154u8, 191u8, 183u8, 50u8, 185u8, 69u8, 126u8, 132u8, 12u8, - 77u8, 146u8, 189u8, 254u8, 7u8, 72u8, 191u8, 118u8, 102u8, - 180u8, 2u8, 161u8, 151u8, 68u8, 93u8, 79u8, 45u8, 97u8, - 202u8, 131u8, 103u8, 174u8, 189u8, + 154u8, 191u8, 183u8, 50u8, 185u8, 69u8, 126u8, 132u8, 12u8, 77u8, + 146u8, 189u8, 254u8, 7u8, 72u8, 191u8, 118u8, 102u8, 180u8, 2u8, 161u8, + 151u8, 68u8, 93u8, 79u8, 45u8, 97u8, 202u8, 131u8, 103u8, 174u8, 189u8, ], ) } @@ -3634,19 +3562,16 @@ pub mod api { #[doc = "-------------------"] #[doc = "- DB Weight: 1 Read/Write (Accounts)"] #[doc = "# "] - pub fn free( - &self, - index: ::core::primitive::u32, - ) -> ::subxt::tx::Payload { + pub fn free(&self, index: ::core::primitive::u32) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Indices", "free", Free { index }, [ - 133u8, 202u8, 225u8, 127u8, 69u8, 145u8, 43u8, 13u8, 160u8, - 248u8, 215u8, 243u8, 232u8, 166u8, 74u8, 203u8, 235u8, 138u8, - 255u8, 27u8, 163u8, 71u8, 254u8, 217u8, 6u8, 208u8, 202u8, - 204u8, 238u8, 70u8, 126u8, 252u8, + 133u8, 202u8, 225u8, 127u8, 69u8, 145u8, 43u8, 13u8, 160u8, 248u8, + 215u8, 243u8, 232u8, 166u8, 74u8, 203u8, 235u8, 138u8, 255u8, 27u8, + 163u8, 71u8, 254u8, 217u8, 6u8, 208u8, 202u8, 204u8, 238u8, 70u8, + 126u8, 252u8, ], ) } @@ -3682,10 +3607,10 @@ pub mod api { "force_transfer", ForceTransfer { new, index, freeze }, [ - 37u8, 220u8, 91u8, 118u8, 222u8, 81u8, 225u8, 131u8, 101u8, - 203u8, 60u8, 149u8, 102u8, 92u8, 58u8, 91u8, 227u8, 64u8, - 229u8, 62u8, 201u8, 57u8, 168u8, 11u8, 51u8, 149u8, 146u8, - 156u8, 209u8, 226u8, 11u8, 181u8, + 37u8, 220u8, 91u8, 118u8, 222u8, 81u8, 225u8, 131u8, 101u8, 203u8, + 60u8, 149u8, 102u8, 92u8, 58u8, 91u8, 227u8, 64u8, 229u8, 62u8, 201u8, + 57u8, 168u8, 11u8, 51u8, 149u8, 146u8, 156u8, 209u8, 226u8, 11u8, + 181u8, ], ) } @@ -3716,10 +3641,9 @@ pub mod api { "freeze", Freeze { index }, [ - 121u8, 45u8, 118u8, 2u8, 72u8, 48u8, 38u8, 7u8, 234u8, 204u8, - 68u8, 20u8, 76u8, 251u8, 205u8, 246u8, 149u8, 31u8, 168u8, - 186u8, 208u8, 90u8, 40u8, 47u8, 100u8, 228u8, 188u8, 33u8, - 79u8, 220u8, 105u8, 209u8, + 121u8, 45u8, 118u8, 2u8, 72u8, 48u8, 38u8, 7u8, 234u8, 204u8, 68u8, + 20u8, 76u8, 251u8, 205u8, 246u8, 149u8, 31u8, 168u8, 186u8, 208u8, + 90u8, 40u8, 47u8, 100u8, 228u8, 188u8, 33u8, 79u8, 220u8, 105u8, 209u8, ], ) } @@ -3806,14 +3730,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Indices", "Accounts", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 211u8, 169u8, 54u8, 254u8, 88u8, 57u8, 22u8, 223u8, 108u8, - 27u8, 38u8, 9u8, 202u8, 209u8, 111u8, 209u8, 144u8, 13u8, - 211u8, 114u8, 239u8, 127u8, 75u8, 166u8, 234u8, 222u8, 225u8, - 35u8, 160u8, 163u8, 112u8, 242u8, + 211u8, 169u8, 54u8, 254u8, 88u8, 57u8, 22u8, 223u8, 108u8, 27u8, 38u8, + 9u8, 202u8, 209u8, 111u8, 209u8, 144u8, 13u8, 211u8, 114u8, 239u8, + 127u8, 75u8, 166u8, 234u8, 222u8, 225u8, 35u8, 160u8, 163u8, 112u8, + 242u8, ], ) } @@ -3836,10 +3760,10 @@ pub mod api { "Accounts", Vec::new(), [ - 211u8, 169u8, 54u8, 254u8, 88u8, 57u8, 22u8, 223u8, 108u8, - 27u8, 38u8, 9u8, 202u8, 209u8, 111u8, 209u8, 144u8, 13u8, - 211u8, 114u8, 239u8, 127u8, 75u8, 166u8, 234u8, 222u8, 225u8, - 35u8, 160u8, 163u8, 112u8, 242u8, + 211u8, 169u8, 54u8, 254u8, 88u8, 57u8, 22u8, 223u8, 108u8, 27u8, 38u8, + 9u8, 202u8, 209u8, 111u8, 209u8, 144u8, 13u8, 211u8, 114u8, 239u8, + 127u8, 75u8, 166u8, 234u8, 222u8, 225u8, 35u8, 160u8, 163u8, 112u8, + 242u8, ], ) } @@ -3850,18 +3774,14 @@ pub mod api { pub struct ConstantsApi; impl ConstantsApi { #[doc = " The deposit needed for reserving an index."] - pub fn deposit( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + pub fn deposit(&self) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Indices", "Deposit", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -3998,10 +3918,10 @@ pub mod api { "transfer", Transfer { dest, value }, [ - 111u8, 222u8, 32u8, 56u8, 171u8, 77u8, 252u8, 29u8, 194u8, - 155u8, 200u8, 192u8, 198u8, 81u8, 23u8, 115u8, 236u8, 91u8, - 218u8, 114u8, 107u8, 141u8, 138u8, 100u8, 237u8, 21u8, 58u8, - 172u8, 3u8, 20u8, 216u8, 38u8, + 111u8, 222u8, 32u8, 56u8, 171u8, 77u8, 252u8, 29u8, 194u8, 155u8, + 200u8, 192u8, 198u8, 81u8, 23u8, 115u8, 236u8, 91u8, 218u8, 114u8, + 107u8, 141u8, 138u8, 100u8, 237u8, 21u8, 58u8, 172u8, 3u8, 20u8, 216u8, + 38u8, ], ) } @@ -4028,10 +3948,10 @@ pub mod api { new_reserved, }, [ - 234u8, 215u8, 97u8, 98u8, 243u8, 199u8, 57u8, 76u8, 59u8, - 161u8, 118u8, 207u8, 34u8, 197u8, 198u8, 61u8, 231u8, 210u8, - 169u8, 235u8, 150u8, 137u8, 173u8, 49u8, 28u8, 77u8, 84u8, - 149u8, 143u8, 210u8, 139u8, 193u8, + 234u8, 215u8, 97u8, 98u8, 243u8, 199u8, 57u8, 76u8, 59u8, 161u8, 118u8, + 207u8, 34u8, 197u8, 198u8, 61u8, 231u8, 210u8, 169u8, 235u8, 150u8, + 137u8, 173u8, 49u8, 28u8, 77u8, 84u8, 149u8, 143u8, 210u8, 139u8, + 193u8, ], ) } @@ -4056,10 +3976,10 @@ pub mod api { value, }, [ - 79u8, 174u8, 212u8, 108u8, 184u8, 33u8, 170u8, 29u8, 232u8, - 254u8, 195u8, 218u8, 221u8, 134u8, 57u8, 99u8, 6u8, 70u8, - 181u8, 227u8, 56u8, 239u8, 243u8, 158u8, 157u8, 245u8, 36u8, - 162u8, 11u8, 237u8, 147u8, 15u8, + 79u8, 174u8, 212u8, 108u8, 184u8, 33u8, 170u8, 29u8, 232u8, 254u8, + 195u8, 218u8, 221u8, 134u8, 57u8, 99u8, 6u8, 70u8, 181u8, 227u8, 56u8, + 239u8, 243u8, 158u8, 157u8, 245u8, 36u8, 162u8, 11u8, 237u8, 147u8, + 15u8, ], ) } @@ -4079,10 +3999,10 @@ pub mod api { "transfer_keep_alive", TransferKeepAlive { dest, value }, [ - 112u8, 179u8, 75u8, 168u8, 193u8, 221u8, 9u8, 82u8, 190u8, - 113u8, 253u8, 13u8, 130u8, 134u8, 170u8, 216u8, 136u8, 111u8, - 242u8, 220u8, 202u8, 112u8, 47u8, 79u8, 73u8, 244u8, 226u8, - 59u8, 240u8, 188u8, 210u8, 208u8, + 112u8, 179u8, 75u8, 168u8, 193u8, 221u8, 9u8, 82u8, 190u8, 113u8, + 253u8, 13u8, 130u8, 134u8, 170u8, 216u8, 136u8, 111u8, 242u8, 220u8, + 202u8, 112u8, 47u8, 79u8, 73u8, 244u8, 226u8, 59u8, 240u8, 188u8, + 210u8, 208u8, ], ) } @@ -4113,10 +4033,10 @@ pub mod api { "transfer_all", TransferAll { dest, keep_alive }, [ - 46u8, 129u8, 29u8, 177u8, 221u8, 107u8, 245u8, 69u8, 238u8, - 126u8, 145u8, 26u8, 219u8, 208u8, 14u8, 80u8, 149u8, 1u8, - 214u8, 63u8, 67u8, 201u8, 144u8, 45u8, 129u8, 145u8, 174u8, - 71u8, 238u8, 113u8, 208u8, 34u8, + 46u8, 129u8, 29u8, 177u8, 221u8, 107u8, 245u8, 69u8, 238u8, 126u8, + 145u8, 26u8, 219u8, 208u8, 14u8, 80u8, 149u8, 1u8, 214u8, 63u8, 67u8, + 201u8, 144u8, 45u8, 129u8, 145u8, 174u8, 71u8, 238u8, 113u8, 208u8, + 34u8, ], ) } @@ -4133,10 +4053,10 @@ pub mod api { "force_unreserve", ForceUnreserve { who, amount }, [ - 160u8, 146u8, 137u8, 76u8, 157u8, 187u8, 66u8, 148u8, 207u8, - 76u8, 32u8, 254u8, 82u8, 215u8, 35u8, 161u8, 213u8, 52u8, - 32u8, 98u8, 102u8, 106u8, 234u8, 123u8, 6u8, 175u8, 184u8, - 188u8, 174u8, 106u8, 176u8, 78u8, + 160u8, 146u8, 137u8, 76u8, 157u8, 187u8, 66u8, 148u8, 207u8, 76u8, + 32u8, 254u8, 82u8, 215u8, 35u8, 161u8, 213u8, 52u8, 32u8, 98u8, 102u8, + 106u8, 234u8, 123u8, 6u8, 175u8, 184u8, 188u8, 174u8, 106u8, 176u8, + 78u8, ], ) } @@ -4353,10 +4273,9 @@ pub mod api { "TotalIssuance", vec![], [ - 1u8, 206u8, 252u8, 237u8, 6u8, 30u8, 20u8, 232u8, 164u8, - 115u8, 51u8, 156u8, 156u8, 206u8, 241u8, 187u8, 44u8, 84u8, - 25u8, 164u8, 235u8, 20u8, 86u8, 242u8, 124u8, 23u8, 28u8, - 140u8, 26u8, 73u8, 231u8, 51u8, + 1u8, 206u8, 252u8, 237u8, 6u8, 30u8, 20u8, 232u8, 164u8, 115u8, 51u8, + 156u8, 156u8, 206u8, 241u8, 187u8, 44u8, 84u8, 25u8, 164u8, 235u8, + 20u8, 86u8, 242u8, 124u8, 23u8, 28u8, 140u8, 26u8, 73u8, 231u8, 51u8, ], ) } @@ -4397,14 +4316,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Balances", "Account", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 246u8, 154u8, 253u8, 71u8, 192u8, 192u8, 192u8, 236u8, 128u8, - 80u8, 40u8, 252u8, 201u8, 43u8, 3u8, 131u8, 19u8, 49u8, - 141u8, 240u8, 172u8, 217u8, 215u8, 109u8, 87u8, 135u8, 248u8, - 57u8, 98u8, 185u8, 22u8, 4u8, + 246u8, 154u8, 253u8, 71u8, 192u8, 192u8, 192u8, 236u8, 128u8, 80u8, + 40u8, 252u8, 201u8, 43u8, 3u8, 131u8, 19u8, 49u8, 141u8, 240u8, 172u8, + 217u8, 215u8, 109u8, 87u8, 135u8, 248u8, 57u8, 98u8, 185u8, 22u8, 4u8, ], ) } @@ -4446,10 +4364,9 @@ pub mod api { "Account", Vec::new(), [ - 246u8, 154u8, 253u8, 71u8, 192u8, 192u8, 192u8, 236u8, 128u8, - 80u8, 40u8, 252u8, 201u8, 43u8, 3u8, 131u8, 19u8, 49u8, - 141u8, 240u8, 172u8, 217u8, 215u8, 109u8, 87u8, 135u8, 248u8, - 57u8, 98u8, 185u8, 22u8, 4u8, + 246u8, 154u8, 253u8, 71u8, 192u8, 192u8, 192u8, 236u8, 128u8, 80u8, + 40u8, 252u8, 201u8, 43u8, 3u8, 131u8, 19u8, 49u8, 141u8, 240u8, 172u8, + 217u8, 215u8, 109u8, 87u8, 135u8, 248u8, 57u8, 98u8, 185u8, 22u8, 4u8, ], ) } @@ -4461,9 +4378,7 @@ pub mod api { ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, runtime_types::sp_core::bounded::weak_bounded_vec::WeakBoundedVec< - runtime_types::pallet_balances::BalanceLock< - ::core::primitive::u128, - >, + runtime_types::pallet_balances::BalanceLock<::core::primitive::u128>, >, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, @@ -4472,14 +4387,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Balances", "Locks", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 216u8, 253u8, 87u8, 73u8, 24u8, 218u8, 35u8, 0u8, 244u8, - 134u8, 195u8, 58u8, 255u8, 64u8, 153u8, 212u8, 210u8, 232u8, - 4u8, 122u8, 90u8, 212u8, 136u8, 14u8, 127u8, 232u8, 8u8, - 192u8, 40u8, 233u8, 18u8, 250u8, + 216u8, 253u8, 87u8, 73u8, 24u8, 218u8, 35u8, 0u8, 244u8, 134u8, 195u8, + 58u8, 255u8, 64u8, 153u8, 212u8, 210u8, 232u8, 4u8, 122u8, 90u8, 212u8, + 136u8, 14u8, 127u8, 232u8, 8u8, 192u8, 40u8, 233u8, 18u8, 250u8, ], ) } @@ -4490,9 +4404,7 @@ pub mod api { ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, runtime_types::sp_core::bounded::weak_bounded_vec::WeakBoundedVec< - runtime_types::pallet_balances::BalanceLock< - ::core::primitive::u128, - >, + runtime_types::pallet_balances::BalanceLock<::core::primitive::u128>, >, (), ::subxt::storage::address::Yes, @@ -4503,10 +4415,9 @@ pub mod api { "Locks", Vec::new(), [ - 216u8, 253u8, 87u8, 73u8, 24u8, 218u8, 35u8, 0u8, 244u8, - 134u8, 195u8, 58u8, 255u8, 64u8, 153u8, 212u8, 210u8, 232u8, - 4u8, 122u8, 90u8, 212u8, 136u8, 14u8, 127u8, 232u8, 8u8, - 192u8, 40u8, 233u8, 18u8, 250u8, + 216u8, 253u8, 87u8, 73u8, 24u8, 218u8, 35u8, 0u8, 244u8, 134u8, 195u8, + 58u8, 255u8, 64u8, 153u8, 212u8, 210u8, 232u8, 4u8, 122u8, 90u8, 212u8, + 136u8, 14u8, 127u8, 232u8, 8u8, 192u8, 40u8, 233u8, 18u8, 250u8, ], ) } @@ -4529,14 +4440,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Balances", "Reserves", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 17u8, 32u8, 191u8, 46u8, 76u8, 220u8, 101u8, 100u8, 42u8, - 250u8, 128u8, 167u8, 117u8, 44u8, 85u8, 96u8, 105u8, 216u8, - 16u8, 147u8, 74u8, 55u8, 183u8, 94u8, 160u8, 177u8, 26u8, - 187u8, 71u8, 197u8, 187u8, 163u8, + 17u8, 32u8, 191u8, 46u8, 76u8, 220u8, 101u8, 100u8, 42u8, 250u8, 128u8, + 167u8, 117u8, 44u8, 85u8, 96u8, 105u8, 216u8, 16u8, 147u8, 74u8, 55u8, + 183u8, 94u8, 160u8, 177u8, 26u8, 187u8, 71u8, 197u8, 187u8, 163u8, ], ) } @@ -4560,10 +4470,9 @@ pub mod api { "Reserves", Vec::new(), [ - 17u8, 32u8, 191u8, 46u8, 76u8, 220u8, 101u8, 100u8, 42u8, - 250u8, 128u8, 167u8, 117u8, 44u8, 85u8, 96u8, 105u8, 216u8, - 16u8, 147u8, 74u8, 55u8, 183u8, 94u8, 160u8, 177u8, 26u8, - 187u8, 71u8, 197u8, 187u8, 163u8, + 17u8, 32u8, 191u8, 46u8, 76u8, 220u8, 101u8, 100u8, 42u8, 250u8, 128u8, + 167u8, 117u8, 44u8, 85u8, 96u8, 105u8, 216u8, 16u8, 147u8, 74u8, 55u8, + 183u8, 94u8, 160u8, 177u8, 26u8, 187u8, 71u8, 197u8, 187u8, 163u8, ], ) } @@ -4584,10 +4493,10 @@ pub mod api { "StorageVersion", vec![], [ - 135u8, 96u8, 28u8, 234u8, 124u8, 212u8, 56u8, 140u8, 40u8, - 101u8, 235u8, 128u8, 136u8, 221u8, 182u8, 81u8, 17u8, 9u8, - 184u8, 228u8, 174u8, 165u8, 200u8, 162u8, 214u8, 178u8, - 227u8, 72u8, 34u8, 5u8, 173u8, 96u8, + 135u8, 96u8, 28u8, 234u8, 124u8, 212u8, 56u8, 140u8, 40u8, 101u8, + 235u8, 128u8, 136u8, 221u8, 182u8, 81u8, 17u8, 9u8, 184u8, 228u8, + 174u8, 165u8, 200u8, 162u8, 214u8, 178u8, 227u8, 72u8, 34u8, 5u8, + 173u8, 96u8, ], ) } @@ -4600,47 +4509,41 @@ pub mod api { #[doc = " The minimum amount required to keep an account open."] pub fn existential_deposit( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Balances", "ExistentialDeposit", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } #[doc = " The maximum number of locks that should exist on an account."] #[doc = " Not strictly enforced, but used for weight estimation."] - pub fn max_locks( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn max_locks(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Balances", "MaxLocks", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " The maximum number of named reserves that can exist on an account."] - pub fn max_reserves( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn max_reserves(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Balances", "MaxReserves", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -4693,10 +4596,10 @@ pub mod api { "NextFeeMultiplier", vec![], [ - 210u8, 0u8, 206u8, 165u8, 183u8, 10u8, 206u8, 52u8, 14u8, - 90u8, 218u8, 197u8, 189u8, 125u8, 113u8, 216u8, 52u8, 161u8, - 45u8, 24u8, 245u8, 237u8, 121u8, 41u8, 106u8, 29u8, 45u8, - 129u8, 250u8, 203u8, 206u8, 180u8, + 210u8, 0u8, 206u8, 165u8, 183u8, 10u8, 206u8, 52u8, 14u8, 90u8, 218u8, + 197u8, 189u8, 125u8, 113u8, 216u8, 52u8, 161u8, 45u8, 24u8, 245u8, + 237u8, 121u8, 41u8, 106u8, 29u8, 45u8, 129u8, 250u8, 203u8, 206u8, + 180u8, ], ) } @@ -4714,10 +4617,9 @@ pub mod api { "StorageVersion", vec![], [ - 219u8, 243u8, 82u8, 176u8, 65u8, 5u8, 132u8, 114u8, 8u8, - 82u8, 176u8, 200u8, 97u8, 150u8, 177u8, 164u8, 166u8, 11u8, - 34u8, 12u8, 12u8, 198u8, 58u8, 191u8, 186u8, 221u8, 221u8, - 119u8, 181u8, 253u8, 154u8, 228u8, + 219u8, 243u8, 82u8, 176u8, 65u8, 5u8, 132u8, 114u8, 8u8, 82u8, 176u8, + 200u8, 97u8, 150u8, 177u8, 164u8, 166u8, 11u8, 34u8, 12u8, 12u8, 198u8, + 58u8, 191u8, 186u8, 221u8, 221u8, 119u8, 181u8, 253u8, 154u8, 228u8, ], ) } @@ -4755,10 +4657,10 @@ pub mod api { "TransactionPayment", "OperationalFeeMultiplier", [ - 141u8, 130u8, 11u8, 35u8, 226u8, 114u8, 92u8, 179u8, 168u8, - 110u8, 28u8, 91u8, 221u8, 64u8, 4u8, 148u8, 201u8, 193u8, - 185u8, 66u8, 226u8, 114u8, 97u8, 79u8, 62u8, 212u8, 202u8, - 114u8, 237u8, 228u8, 183u8, 165u8, + 141u8, 130u8, 11u8, 35u8, 226u8, 114u8, 92u8, 179u8, 168u8, 110u8, + 28u8, 91u8, 221u8, 64u8, 4u8, 148u8, 201u8, 193u8, 185u8, 66u8, 226u8, + 114u8, 97u8, 79u8, 62u8, 212u8, 202u8, 114u8, 237u8, 228u8, 183u8, + 165u8, ], ) } @@ -4807,10 +4709,10 @@ pub mod api { "set_uncles", SetUncles { new_uncles }, [ - 181u8, 70u8, 222u8, 83u8, 154u8, 215u8, 200u8, 64u8, 154u8, - 228u8, 115u8, 247u8, 117u8, 89u8, 229u8, 102u8, 128u8, 189u8, - 90u8, 60u8, 223u8, 19u8, 111u8, 172u8, 5u8, 223u8, 132u8, - 37u8, 235u8, 119u8, 42u8, 64u8, + 181u8, 70u8, 222u8, 83u8, 154u8, 215u8, 200u8, 64u8, 154u8, 228u8, + 115u8, 247u8, 117u8, 89u8, 229u8, 102u8, 128u8, 189u8, 90u8, 60u8, + 223u8, 19u8, 111u8, 172u8, 5u8, 223u8, 132u8, 37u8, 235u8, 119u8, 42u8, + 64u8, ], ) } @@ -4841,10 +4743,10 @@ pub mod api { "Uncles", vec![], [ - 193u8, 226u8, 196u8, 151u8, 233u8, 82u8, 60u8, 164u8, 27u8, - 156u8, 231u8, 51u8, 79u8, 134u8, 170u8, 166u8, 71u8, 120u8, - 250u8, 255u8, 52u8, 168u8, 74u8, 199u8, 122u8, 253u8, 248u8, - 178u8, 39u8, 233u8, 132u8, 67u8, + 193u8, 226u8, 196u8, 151u8, 233u8, 82u8, 60u8, 164u8, 27u8, 156u8, + 231u8, 51u8, 79u8, 134u8, 170u8, 166u8, 71u8, 120u8, 250u8, 255u8, + 52u8, 168u8, 74u8, 199u8, 122u8, 253u8, 248u8, 178u8, 39u8, 233u8, + 132u8, 67u8, ], ) } @@ -4863,10 +4765,10 @@ pub mod api { "Author", vec![], [ - 149u8, 42u8, 33u8, 147u8, 190u8, 207u8, 174u8, 227u8, 190u8, - 110u8, 25u8, 131u8, 5u8, 167u8, 237u8, 188u8, 188u8, 33u8, - 177u8, 126u8, 181u8, 49u8, 126u8, 118u8, 46u8, 128u8, 154u8, - 95u8, 15u8, 91u8, 103u8, 113u8, + 149u8, 42u8, 33u8, 147u8, 190u8, 207u8, 174u8, 227u8, 190u8, 110u8, + 25u8, 131u8, 5u8, 167u8, 237u8, 188u8, 188u8, 33u8, 177u8, 126u8, + 181u8, 49u8, 126u8, 118u8, 46u8, 128u8, 154u8, 95u8, 15u8, 91u8, 103u8, + 113u8, ], ) } @@ -4885,10 +4787,9 @@ pub mod api { "DidSetUncles", vec![], [ - 64u8, 3u8, 208u8, 187u8, 50u8, 45u8, 37u8, 88u8, 163u8, - 226u8, 37u8, 126u8, 232u8, 107u8, 156u8, 187u8, 29u8, 15u8, - 53u8, 46u8, 28u8, 73u8, 83u8, 123u8, 14u8, 244u8, 243u8, - 43u8, 245u8, 143u8, 15u8, 115u8, + 64u8, 3u8, 208u8, 187u8, 50u8, 45u8, 37u8, 88u8, 163u8, 226u8, 37u8, + 126u8, 232u8, 107u8, 156u8, 187u8, 29u8, 15u8, 53u8, 46u8, 28u8, 73u8, + 83u8, 123u8, 14u8, 244u8, 243u8, 43u8, 245u8, 143u8, 15u8, 115u8, ], ) } @@ -4908,10 +4809,10 @@ pub mod api { "Authorship", "UncleGenerations", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -4936,13 +4837,11 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Bond { - pub controller: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub controller: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] pub value: ::core::primitive::u128, - pub payee: runtime_types::pallet_staking::RewardDestination< - ::subxt::utils::AccountId32, - >, + pub payee: + runtime_types::pallet_staking::RewardDestination<::subxt::utils::AccountId32>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -5005,9 +4904,8 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Nominate { - pub targets: ::std::vec::Vec< - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - >, + pub targets: + ::std::vec::Vec<::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -5029,9 +4927,8 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetPayee { - pub payee: runtime_types::pallet_staking::RewardDestination< - ::subxt::utils::AccountId32, - >, + pub payee: + runtime_types::pallet_staking::RewardDestination<::subxt::utils::AccountId32>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -5043,8 +4940,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetController { - pub controller: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub controller: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -5201,9 +5097,8 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Kick { - pub who: ::std::vec::Vec< - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - >, + pub who: + ::std::vec::Vec<::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -5215,30 +5110,22 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetStakingConfigs { - pub min_nominator_bond: - runtime_types::pallet_staking::pallet::pallet::ConfigOp< - ::core::primitive::u128, - >, - pub min_validator_bond: - runtime_types::pallet_staking::pallet::pallet::ConfigOp< - ::core::primitive::u128, - >, + pub min_nominator_bond: runtime_types::pallet_staking::pallet::pallet::ConfigOp< + ::core::primitive::u128, + >, + pub min_validator_bond: runtime_types::pallet_staking::pallet::pallet::ConfigOp< + ::core::primitive::u128, + >, pub max_nominator_count: - runtime_types::pallet_staking::pallet::pallet::ConfigOp< - ::core::primitive::u32, - >, + runtime_types::pallet_staking::pallet::pallet::ConfigOp<::core::primitive::u32>, pub max_validator_count: - runtime_types::pallet_staking::pallet::pallet::ConfigOp< - ::core::primitive::u32, - >, - pub chill_threshold: - runtime_types::pallet_staking::pallet::pallet::ConfigOp< - runtime_types::sp_arithmetic::per_things::Percent, - >, - pub min_commission: - runtime_types::pallet_staking::pallet::pallet::ConfigOp< - runtime_types::sp_arithmetic::per_things::Perbill, - >, + runtime_types::pallet_staking::pallet::pallet::ConfigOp<::core::primitive::u32>, + pub chill_threshold: runtime_types::pallet_staking::pallet::pallet::ConfigOp< + runtime_types::sp_arithmetic::per_things::Percent, + >, + pub min_commission: runtime_types::pallet_staking::pallet::pallet::ConfigOp< + runtime_types::sp_arithmetic::per_things::Perbill, + >, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -5285,10 +5172,7 @@ pub mod api { #[doc = "# "] pub fn bond( &self, - controller: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + controller: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, value: ::core::primitive::u128, payee: runtime_types::pallet_staking::RewardDestination< ::subxt::utils::AccountId32, @@ -5303,10 +5187,10 @@ pub mod api { payee, }, [ - 215u8, 211u8, 69u8, 215u8, 33u8, 158u8, 62u8, 3u8, 31u8, - 216u8, 213u8, 188u8, 151u8, 43u8, 165u8, 154u8, 117u8, 163u8, - 190u8, 227u8, 116u8, 70u8, 155u8, 178u8, 64u8, 174u8, 203u8, - 179u8, 214u8, 187u8, 176u8, 10u8, + 215u8, 211u8, 69u8, 215u8, 33u8, 158u8, 62u8, 3u8, 31u8, 216u8, 213u8, + 188u8, 151u8, 43u8, 165u8, 154u8, 117u8, 163u8, 190u8, 227u8, 116u8, + 70u8, 155u8, 178u8, 64u8, 174u8, 203u8, 179u8, 214u8, 187u8, 176u8, + 10u8, ], ) } @@ -5334,10 +5218,9 @@ pub mod api { "bond_extra", BondExtra { max_additional }, [ - 60u8, 45u8, 82u8, 223u8, 113u8, 95u8, 0u8, 71u8, 59u8, 108u8, - 228u8, 9u8, 95u8, 210u8, 113u8, 106u8, 252u8, 15u8, 19u8, - 128u8, 11u8, 187u8, 4u8, 151u8, 103u8, 143u8, 24u8, 33u8, - 149u8, 82u8, 35u8, 192u8, + 60u8, 45u8, 82u8, 223u8, 113u8, 95u8, 0u8, 71u8, 59u8, 108u8, 228u8, + 9u8, 95u8, 210u8, 113u8, 106u8, 252u8, 15u8, 19u8, 128u8, 11u8, 187u8, + 4u8, 151u8, 103u8, 143u8, 24u8, 33u8, 149u8, 82u8, 35u8, 192u8, ], ) } @@ -5369,10 +5252,10 @@ pub mod api { "unbond", Unbond { value }, [ - 85u8, 62u8, 34u8, 127u8, 60u8, 241u8, 134u8, 60u8, 125u8, - 91u8, 31u8, 193u8, 50u8, 230u8, 237u8, 42u8, 114u8, 230u8, - 240u8, 146u8, 14u8, 109u8, 185u8, 151u8, 148u8, 44u8, 147u8, - 182u8, 192u8, 253u8, 51u8, 87u8, + 85u8, 62u8, 34u8, 127u8, 60u8, 241u8, 134u8, 60u8, 125u8, 91u8, 31u8, + 193u8, 50u8, 230u8, 237u8, 42u8, 114u8, 230u8, 240u8, 146u8, 14u8, + 109u8, 185u8, 151u8, 148u8, 44u8, 147u8, 182u8, 192u8, 253u8, 51u8, + 87u8, ], ) } @@ -5400,10 +5283,10 @@ pub mod api { "withdraw_unbonded", WithdrawUnbonded { num_slashing_spans }, [ - 95u8, 223u8, 122u8, 217u8, 76u8, 208u8, 86u8, 129u8, 31u8, - 104u8, 70u8, 154u8, 23u8, 250u8, 165u8, 192u8, 149u8, 249u8, - 158u8, 159u8, 194u8, 224u8, 118u8, 134u8, 204u8, 157u8, 72u8, - 136u8, 19u8, 193u8, 183u8, 84u8, + 95u8, 223u8, 122u8, 217u8, 76u8, 208u8, 86u8, 129u8, 31u8, 104u8, 70u8, + 154u8, 23u8, 250u8, 165u8, 192u8, 149u8, 249u8, 158u8, 159u8, 194u8, + 224u8, 118u8, 134u8, 204u8, 157u8, 72u8, 136u8, 19u8, 193u8, 183u8, + 84u8, ], ) } @@ -5421,10 +5304,10 @@ pub mod api { "validate", Validate { prefs }, [ - 191u8, 116u8, 139u8, 35u8, 250u8, 211u8, 86u8, 240u8, 35u8, - 9u8, 19u8, 44u8, 148u8, 35u8, 91u8, 106u8, 200u8, 172u8, - 108u8, 145u8, 194u8, 146u8, 61u8, 145u8, 233u8, 168u8, 2u8, - 26u8, 145u8, 101u8, 114u8, 157u8, + 191u8, 116u8, 139u8, 35u8, 250u8, 211u8, 86u8, 240u8, 35u8, 9u8, 19u8, + 44u8, 148u8, 35u8, 91u8, 106u8, 200u8, 172u8, 108u8, 145u8, 194u8, + 146u8, 61u8, 145u8, 233u8, 168u8, 2u8, 26u8, 145u8, 101u8, 114u8, + 157u8, ], ) } @@ -5450,10 +5333,10 @@ pub mod api { "nominate", Nominate { targets }, [ - 112u8, 162u8, 70u8, 26u8, 74u8, 7u8, 188u8, 193u8, 210u8, - 247u8, 27u8, 189u8, 133u8, 137u8, 33u8, 155u8, 255u8, 171u8, - 122u8, 68u8, 175u8, 247u8, 139u8, 253u8, 97u8, 187u8, 254u8, - 201u8, 66u8, 166u8, 226u8, 90u8, + 112u8, 162u8, 70u8, 26u8, 74u8, 7u8, 188u8, 193u8, 210u8, 247u8, 27u8, + 189u8, 133u8, 137u8, 33u8, 155u8, 255u8, 171u8, 122u8, 68u8, 175u8, + 247u8, 139u8, 253u8, 97u8, 187u8, 254u8, 201u8, 66u8, 166u8, 226u8, + 90u8, ], ) } @@ -5474,10 +5357,10 @@ pub mod api { "chill", Chill {}, [ - 94u8, 20u8, 196u8, 31u8, 220u8, 125u8, 115u8, 167u8, 140u8, - 3u8, 20u8, 132u8, 81u8, 120u8, 215u8, 166u8, 230u8, 56u8, - 16u8, 222u8, 31u8, 153u8, 120u8, 62u8, 153u8, 67u8, 220u8, - 239u8, 11u8, 234u8, 127u8, 122u8, + 94u8, 20u8, 196u8, 31u8, 220u8, 125u8, 115u8, 167u8, 140u8, 3u8, 20u8, + 132u8, 81u8, 120u8, 215u8, 166u8, 230u8, 56u8, 16u8, 222u8, 31u8, + 153u8, 120u8, 62u8, 153u8, 67u8, 220u8, 239u8, 11u8, 234u8, 127u8, + 122u8, ], ) } @@ -5508,10 +5391,9 @@ pub mod api { "set_payee", SetPayee { payee }, [ - 96u8, 8u8, 254u8, 164u8, 87u8, 46u8, 120u8, 11u8, 197u8, - 63u8, 20u8, 178u8, 167u8, 236u8, 149u8, 245u8, 14u8, 171u8, - 108u8, 195u8, 250u8, 133u8, 0u8, 75u8, 192u8, 159u8, 84u8, - 220u8, 242u8, 133u8, 60u8, 62u8, + 96u8, 8u8, 254u8, 164u8, 87u8, 46u8, 120u8, 11u8, 197u8, 63u8, 20u8, + 178u8, 167u8, 236u8, 149u8, 245u8, 14u8, 171u8, 108u8, 195u8, 250u8, + 133u8, 0u8, 75u8, 192u8, 159u8, 84u8, 220u8, 242u8, 133u8, 60u8, 62u8, ], ) } @@ -5533,20 +5415,16 @@ pub mod api { #[doc = "# "] pub fn set_controller( &self, - controller: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + controller: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Staking", "set_controller", SetController { controller }, [ - 165u8, 250u8, 213u8, 32u8, 179u8, 163u8, 15u8, 35u8, 14u8, - 152u8, 56u8, 171u8, 43u8, 101u8, 7u8, 167u8, 178u8, 60u8, - 89u8, 186u8, 59u8, 28u8, 82u8, 159u8, 13u8, 96u8, 168u8, - 123u8, 194u8, 212u8, 205u8, 184u8, + 165u8, 250u8, 213u8, 32u8, 179u8, 163u8, 15u8, 35u8, 14u8, 152u8, 56u8, + 171u8, 43u8, 101u8, 7u8, 167u8, 178u8, 60u8, 89u8, 186u8, 59u8, 28u8, + 82u8, 159u8, 13u8, 96u8, 168u8, 123u8, 194u8, 212u8, 205u8, 184u8, ], ) } @@ -5567,10 +5445,9 @@ pub mod api { "set_validator_count", SetValidatorCount { new }, [ - 55u8, 232u8, 95u8, 66u8, 228u8, 217u8, 11u8, 27u8, 3u8, - 202u8, 199u8, 242u8, 70u8, 160u8, 250u8, 187u8, 194u8, 91u8, - 15u8, 36u8, 215u8, 36u8, 160u8, 108u8, 251u8, 60u8, 240u8, - 202u8, 249u8, 235u8, 28u8, 94u8, + 55u8, 232u8, 95u8, 66u8, 228u8, 217u8, 11u8, 27u8, 3u8, 202u8, 199u8, + 242u8, 70u8, 160u8, 250u8, 187u8, 194u8, 91u8, 15u8, 36u8, 215u8, 36u8, + 160u8, 108u8, 251u8, 60u8, 240u8, 202u8, 249u8, 235u8, 28u8, 94u8, ], ) } @@ -5591,10 +5468,9 @@ pub mod api { "increase_validator_count", IncreaseValidatorCount { additional }, [ - 239u8, 184u8, 155u8, 213u8, 25u8, 22u8, 193u8, 13u8, 102u8, - 192u8, 82u8, 153u8, 249u8, 192u8, 60u8, 158u8, 8u8, 78u8, - 175u8, 219u8, 46u8, 51u8, 222u8, 193u8, 193u8, 201u8, 78u8, - 90u8, 58u8, 86u8, 196u8, 17u8, + 239u8, 184u8, 155u8, 213u8, 25u8, 22u8, 193u8, 13u8, 102u8, 192u8, + 82u8, 153u8, 249u8, 192u8, 60u8, 158u8, 8u8, 78u8, 175u8, 219u8, 46u8, + 51u8, 222u8, 193u8, 193u8, 201u8, 78u8, 90u8, 58u8, 86u8, 196u8, 17u8, ], ) } @@ -5615,10 +5491,10 @@ pub mod api { "scale_validator_count", ScaleValidatorCount { factor }, [ - 198u8, 68u8, 227u8, 94u8, 110u8, 157u8, 209u8, 217u8, 112u8, - 37u8, 78u8, 142u8, 12u8, 193u8, 219u8, 167u8, 149u8, 112u8, - 49u8, 139u8, 74u8, 81u8, 172u8, 72u8, 253u8, 224u8, 56u8, - 194u8, 185u8, 90u8, 87u8, 125u8, + 198u8, 68u8, 227u8, 94u8, 110u8, 157u8, 209u8, 217u8, 112u8, 37u8, + 78u8, 142u8, 12u8, 193u8, 219u8, 167u8, 149u8, 112u8, 49u8, 139u8, + 74u8, 81u8, 172u8, 72u8, 253u8, 224u8, 56u8, 194u8, 185u8, 90u8, 87u8, + 125u8, ], ) } @@ -5643,10 +5519,9 @@ pub mod api { "force_no_eras", ForceNoEras {}, [ - 16u8, 81u8, 207u8, 168u8, 23u8, 236u8, 11u8, 75u8, 141u8, - 107u8, 92u8, 2u8, 53u8, 111u8, 252u8, 116u8, 91u8, 120u8, - 75u8, 24u8, 125u8, 53u8, 9u8, 28u8, 242u8, 87u8, 245u8, 55u8, - 40u8, 103u8, 151u8, 178u8, + 16u8, 81u8, 207u8, 168u8, 23u8, 236u8, 11u8, 75u8, 141u8, 107u8, 92u8, + 2u8, 53u8, 111u8, 252u8, 116u8, 91u8, 120u8, 75u8, 24u8, 125u8, 53u8, + 9u8, 28u8, 242u8, 87u8, 245u8, 55u8, 40u8, 103u8, 151u8, 178u8, ], ) } @@ -5672,10 +5547,9 @@ pub mod api { "force_new_era", ForceNewEra {}, [ - 230u8, 242u8, 169u8, 196u8, 78u8, 145u8, 24u8, 191u8, 113u8, - 68u8, 5u8, 138u8, 48u8, 51u8, 109u8, 126u8, 73u8, 136u8, - 162u8, 158u8, 174u8, 201u8, 213u8, 230u8, 215u8, 44u8, 200u8, - 32u8, 75u8, 27u8, 23u8, 254u8, + 230u8, 242u8, 169u8, 196u8, 78u8, 145u8, 24u8, 191u8, 113u8, 68u8, 5u8, + 138u8, 48u8, 51u8, 109u8, 126u8, 73u8, 136u8, 162u8, 158u8, 174u8, + 201u8, 213u8, 230u8, 215u8, 44u8, 200u8, 32u8, 75u8, 27u8, 23u8, 254u8, ], ) } @@ -5691,10 +5565,9 @@ pub mod api { "set_invulnerables", SetInvulnerables { invulnerables }, [ - 2u8, 148u8, 221u8, 111u8, 153u8, 48u8, 222u8, 36u8, 228u8, - 84u8, 18u8, 35u8, 168u8, 239u8, 53u8, 245u8, 27u8, 76u8, - 18u8, 203u8, 206u8, 9u8, 8u8, 81u8, 35u8, 224u8, 22u8, 133u8, - 58u8, 99u8, 103u8, 39u8, + 2u8, 148u8, 221u8, 111u8, 153u8, 48u8, 222u8, 36u8, 228u8, 84u8, 18u8, + 35u8, 168u8, 239u8, 53u8, 245u8, 27u8, 76u8, 18u8, 203u8, 206u8, 9u8, + 8u8, 81u8, 35u8, 224u8, 22u8, 133u8, 58u8, 99u8, 103u8, 39u8, ], ) } @@ -5714,10 +5587,10 @@ pub mod api { num_slashing_spans, }, [ - 94u8, 247u8, 238u8, 47u8, 250u8, 6u8, 96u8, 175u8, 173u8, - 123u8, 161u8, 187u8, 162u8, 214u8, 176u8, 233u8, 33u8, 33u8, - 167u8, 239u8, 40u8, 223u8, 19u8, 131u8, 230u8, 39u8, 175u8, - 200u8, 36u8, 182u8, 76u8, 207u8, + 94u8, 247u8, 238u8, 47u8, 250u8, 6u8, 96u8, 175u8, 173u8, 123u8, 161u8, + 187u8, 162u8, 214u8, 176u8, 233u8, 33u8, 33u8, 167u8, 239u8, 40u8, + 223u8, 19u8, 131u8, 230u8, 39u8, 175u8, 200u8, 36u8, 182u8, 76u8, + 207u8, ], ) } @@ -5730,18 +5603,16 @@ pub mod api { #[doc = "The election process starts multiple blocks before the end of the era."] #[doc = "If this is called just before a new era is triggered, the election process may not"] #[doc = "have enough blocks to get a result."] - pub fn force_new_era_always( - &self, - ) -> ::subxt::tx::Payload { + pub fn force_new_era_always(&self) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Staking", "force_new_era_always", ForceNewEraAlways {}, [ - 179u8, 118u8, 189u8, 54u8, 248u8, 141u8, 207u8, 142u8, 80u8, - 37u8, 241u8, 185u8, 138u8, 254u8, 117u8, 147u8, 225u8, 118u8, - 34u8, 177u8, 197u8, 158u8, 8u8, 82u8, 202u8, 108u8, 208u8, - 26u8, 64u8, 33u8, 74u8, 43u8, + 179u8, 118u8, 189u8, 54u8, 248u8, 141u8, 207u8, 142u8, 80u8, 37u8, + 241u8, 185u8, 138u8, 254u8, 117u8, 147u8, 225u8, 118u8, 34u8, 177u8, + 197u8, 158u8, 8u8, 82u8, 202u8, 108u8, 208u8, 26u8, 64u8, 33u8, 74u8, + 43u8, ], ) } @@ -5760,10 +5631,10 @@ pub mod api { "cancel_deferred_slash", CancelDeferredSlash { era, slash_indices }, [ - 120u8, 57u8, 162u8, 105u8, 91u8, 250u8, 129u8, 240u8, 110u8, - 234u8, 170u8, 98u8, 164u8, 65u8, 106u8, 101u8, 19u8, 88u8, - 146u8, 210u8, 171u8, 44u8, 37u8, 50u8, 65u8, 178u8, 37u8, - 223u8, 239u8, 197u8, 116u8, 168u8, + 120u8, 57u8, 162u8, 105u8, 91u8, 250u8, 129u8, 240u8, 110u8, 234u8, + 170u8, 98u8, 164u8, 65u8, 106u8, 101u8, 19u8, 88u8, 146u8, 210u8, + 171u8, 44u8, 37u8, 50u8, 65u8, 178u8, 37u8, 223u8, 239u8, 197u8, 116u8, + 168u8, ], ) } @@ -5801,10 +5672,9 @@ pub mod api { era, }, [ - 184u8, 194u8, 33u8, 118u8, 7u8, 203u8, 89u8, 119u8, 214u8, - 76u8, 178u8, 20u8, 82u8, 111u8, 57u8, 132u8, 212u8, 43u8, - 232u8, 91u8, 252u8, 49u8, 42u8, 115u8, 1u8, 181u8, 154u8, - 207u8, 144u8, 206u8, 205u8, 33u8, + 184u8, 194u8, 33u8, 118u8, 7u8, 203u8, 89u8, 119u8, 214u8, 76u8, 178u8, + 20u8, 82u8, 111u8, 57u8, 132u8, 212u8, 43u8, 232u8, 91u8, 252u8, 49u8, + 42u8, 115u8, 1u8, 181u8, 154u8, 207u8, 144u8, 206u8, 205u8, 33u8, ], ) } @@ -5826,10 +5696,10 @@ pub mod api { "rebond", Rebond { value }, [ - 25u8, 22u8, 191u8, 172u8, 133u8, 101u8, 139u8, 102u8, 134u8, - 16u8, 136u8, 56u8, 137u8, 162u8, 4u8, 253u8, 196u8, 30u8, - 234u8, 49u8, 102u8, 68u8, 145u8, 96u8, 148u8, 219u8, 162u8, - 17u8, 177u8, 184u8, 34u8, 113u8, + 25u8, 22u8, 191u8, 172u8, 133u8, 101u8, 139u8, 102u8, 134u8, 16u8, + 136u8, 56u8, 137u8, 162u8, 4u8, 253u8, 196u8, 30u8, 234u8, 49u8, 102u8, + 68u8, 145u8, 96u8, 148u8, 219u8, 162u8, 17u8, 177u8, 184u8, 34u8, + 113u8, ], ) } @@ -5858,10 +5728,10 @@ pub mod api { num_slashing_spans, }, [ - 34u8, 168u8, 120u8, 161u8, 95u8, 199u8, 106u8, 233u8, 61u8, - 240u8, 166u8, 31u8, 183u8, 165u8, 158u8, 179u8, 32u8, 130u8, - 27u8, 164u8, 112u8, 44u8, 14u8, 125u8, 227u8, 87u8, 70u8, - 203u8, 194u8, 24u8, 212u8, 177u8, + 34u8, 168u8, 120u8, 161u8, 95u8, 199u8, 106u8, 233u8, 61u8, 240u8, + 166u8, 31u8, 183u8, 165u8, 158u8, 179u8, 32u8, 130u8, 27u8, 164u8, + 112u8, 44u8, 14u8, 125u8, 227u8, 87u8, 70u8, 203u8, 194u8, 24u8, 212u8, + 177u8, ], ) } @@ -5887,10 +5757,9 @@ pub mod api { "kick", Kick { who }, [ - 32u8, 26u8, 202u8, 6u8, 186u8, 180u8, 58u8, 121u8, 185u8, - 208u8, 123u8, 10u8, 53u8, 179u8, 167u8, 203u8, 96u8, 229u8, - 7u8, 144u8, 231u8, 172u8, 145u8, 141u8, 162u8, 180u8, 212u8, - 42u8, 34u8, 5u8, 199u8, 82u8, + 32u8, 26u8, 202u8, 6u8, 186u8, 180u8, 58u8, 121u8, 185u8, 208u8, 123u8, + 10u8, 53u8, 179u8, 167u8, 203u8, 96u8, 229u8, 7u8, 144u8, 231u8, 172u8, + 145u8, 141u8, 162u8, 180u8, 212u8, 42u8, 34u8, 5u8, 199u8, 82u8, ], ) } @@ -5913,12 +5782,24 @@ pub mod api { #[doc = "to kick people under the new limits, `chill_other` should be called."] pub fn set_staking_configs( &self, - min_nominator_bond : runtime_types :: pallet_staking :: pallet :: pallet :: ConfigOp < :: core :: primitive :: u128 >, - min_validator_bond : runtime_types :: pallet_staking :: pallet :: pallet :: ConfigOp < :: core :: primitive :: u128 >, - max_nominator_count : runtime_types :: pallet_staking :: pallet :: pallet :: ConfigOp < :: core :: primitive :: u32 >, - max_validator_count : runtime_types :: pallet_staking :: pallet :: pallet :: ConfigOp < :: core :: primitive :: u32 >, - chill_threshold : runtime_types :: pallet_staking :: pallet :: pallet :: ConfigOp < runtime_types :: sp_arithmetic :: per_things :: Percent >, - min_commission : runtime_types :: pallet_staking :: pallet :: pallet :: ConfigOp < runtime_types :: sp_arithmetic :: per_things :: Perbill >, + min_nominator_bond: runtime_types::pallet_staking::pallet::pallet::ConfigOp< + ::core::primitive::u128, + >, + min_validator_bond: runtime_types::pallet_staking::pallet::pallet::ConfigOp< + ::core::primitive::u128, + >, + max_nominator_count: runtime_types::pallet_staking::pallet::pallet::ConfigOp< + ::core::primitive::u32, + >, + max_validator_count: runtime_types::pallet_staking::pallet::pallet::ConfigOp< + ::core::primitive::u32, + >, + chill_threshold: runtime_types::pallet_staking::pallet::pallet::ConfigOp< + runtime_types::sp_arithmetic::per_things::Percent, + >, + min_commission: runtime_types::pallet_staking::pallet::pallet::ConfigOp< + runtime_types::sp_arithmetic::per_things::Perbill, + >, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Staking", @@ -5932,10 +5813,9 @@ pub mod api { min_commission, }, [ - 176u8, 168u8, 155u8, 176u8, 27u8, 79u8, 223u8, 92u8, 88u8, - 93u8, 223u8, 69u8, 179u8, 250u8, 138u8, 138u8, 87u8, 220u8, - 36u8, 3u8, 126u8, 213u8, 16u8, 68u8, 3u8, 16u8, 218u8, 151u8, - 98u8, 169u8, 217u8, 75u8, + 176u8, 168u8, 155u8, 176u8, 27u8, 79u8, 223u8, 92u8, 88u8, 93u8, 223u8, + 69u8, 179u8, 250u8, 138u8, 138u8, 87u8, 220u8, 36u8, 3u8, 126u8, 213u8, + 16u8, 68u8, 3u8, 16u8, 218u8, 151u8, 98u8, 169u8, 217u8, 75u8, ], ) } @@ -5974,10 +5854,9 @@ pub mod api { "chill_other", ChillOther { controller }, [ - 140u8, 98u8, 4u8, 203u8, 91u8, 131u8, 123u8, 119u8, 169u8, - 47u8, 188u8, 23u8, 205u8, 170u8, 82u8, 220u8, 166u8, 170u8, - 135u8, 176u8, 68u8, 228u8, 14u8, 67u8, 42u8, 52u8, 140u8, - 231u8, 62u8, 167u8, 80u8, 173u8, + 140u8, 98u8, 4u8, 203u8, 91u8, 131u8, 123u8, 119u8, 169u8, 47u8, 188u8, + 23u8, 205u8, 170u8, 82u8, 220u8, 166u8, 170u8, 135u8, 176u8, 68u8, + 228u8, 14u8, 67u8, 42u8, 52u8, 140u8, 231u8, 62u8, 167u8, 80u8, 173u8, ], ) } @@ -5993,10 +5872,10 @@ pub mod api { "force_apply_min_commission", ForceApplyMinCommission { validator_stash }, [ - 136u8, 163u8, 85u8, 134u8, 240u8, 247u8, 183u8, 227u8, 226u8, - 202u8, 102u8, 186u8, 138u8, 119u8, 78u8, 123u8, 229u8, 135u8, - 129u8, 241u8, 119u8, 106u8, 41u8, 182u8, 121u8, 181u8, 242u8, - 175u8, 74u8, 207u8, 64u8, 106u8, + 136u8, 163u8, 85u8, 134u8, 240u8, 247u8, 183u8, 227u8, 226u8, 202u8, + 102u8, 186u8, 138u8, 119u8, 78u8, 123u8, 229u8, 135u8, 129u8, 241u8, + 119u8, 106u8, 41u8, 182u8, 121u8, 181u8, 242u8, 175u8, 74u8, 207u8, + 64u8, 106u8, ], ) } @@ -6260,10 +6139,9 @@ pub mod api { "ValidatorCount", vec![], [ - 245u8, 75u8, 214u8, 110u8, 66u8, 164u8, 86u8, 206u8, 69u8, - 89u8, 12u8, 111u8, 117u8, 16u8, 228u8, 184u8, 207u8, 6u8, - 0u8, 126u8, 221u8, 67u8, 125u8, 218u8, 188u8, 245u8, 156u8, - 188u8, 34u8, 85u8, 208u8, 197u8, + 245u8, 75u8, 214u8, 110u8, 66u8, 164u8, 86u8, 206u8, 69u8, 89u8, 12u8, + 111u8, 117u8, 16u8, 228u8, 184u8, 207u8, 6u8, 0u8, 126u8, 221u8, 67u8, + 125u8, 218u8, 188u8, 245u8, 156u8, 188u8, 34u8, 85u8, 208u8, 197u8, ], ) } @@ -6282,10 +6160,9 @@ pub mod api { "MinimumValidatorCount", vec![], [ - 82u8, 95u8, 128u8, 55u8, 136u8, 134u8, 71u8, 117u8, 135u8, - 76u8, 44u8, 46u8, 174u8, 34u8, 170u8, 228u8, 175u8, 1u8, - 234u8, 162u8, 91u8, 252u8, 127u8, 68u8, 243u8, 241u8, 13u8, - 107u8, 214u8, 70u8, 87u8, 249u8, + 82u8, 95u8, 128u8, 55u8, 136u8, 134u8, 71u8, 117u8, 135u8, 76u8, 44u8, + 46u8, 174u8, 34u8, 170u8, 228u8, 175u8, 1u8, 234u8, 162u8, 91u8, 252u8, + 127u8, 68u8, 243u8, 241u8, 13u8, 107u8, 214u8, 70u8, 87u8, 249u8, ], ) } @@ -6306,10 +6183,9 @@ pub mod api { "Invulnerables", vec![], [ - 77u8, 78u8, 63u8, 199u8, 150u8, 167u8, 135u8, 130u8, 192u8, - 51u8, 202u8, 119u8, 68u8, 49u8, 241u8, 68u8, 82u8, 90u8, - 226u8, 201u8, 96u8, 170u8, 21u8, 173u8, 236u8, 116u8, 148u8, - 8u8, 174u8, 92u8, 7u8, 11u8, + 77u8, 78u8, 63u8, 199u8, 150u8, 167u8, 135u8, 130u8, 192u8, 51u8, + 202u8, 119u8, 68u8, 49u8, 241u8, 68u8, 82u8, 90u8, 226u8, 201u8, 96u8, + 170u8, 21u8, 173u8, 236u8, 116u8, 148u8, 8u8, 174u8, 92u8, 7u8, 11u8, ], ) } @@ -6327,14 +6203,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Staking", "Bonded", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 35u8, 197u8, 156u8, 60u8, 22u8, 59u8, 103u8, 83u8, 77u8, - 15u8, 118u8, 193u8, 155u8, 97u8, 229u8, 36u8, 119u8, 128u8, - 224u8, 162u8, 21u8, 46u8, 199u8, 221u8, 15u8, 74u8, 59u8, - 70u8, 77u8, 218u8, 73u8, 165u8, + 35u8, 197u8, 156u8, 60u8, 22u8, 59u8, 103u8, 83u8, 77u8, 15u8, 118u8, + 193u8, 155u8, 97u8, 229u8, 36u8, 119u8, 128u8, 224u8, 162u8, 21u8, + 46u8, 199u8, 221u8, 15u8, 74u8, 59u8, 70u8, 77u8, 218u8, 73u8, 165u8, ], ) } @@ -6353,10 +6228,9 @@ pub mod api { "Bonded", Vec::new(), [ - 35u8, 197u8, 156u8, 60u8, 22u8, 59u8, 103u8, 83u8, 77u8, - 15u8, 118u8, 193u8, 155u8, 97u8, 229u8, 36u8, 119u8, 128u8, - 224u8, 162u8, 21u8, 46u8, 199u8, 221u8, 15u8, 74u8, 59u8, - 70u8, 77u8, 218u8, 73u8, 165u8, + 35u8, 197u8, 156u8, 60u8, 22u8, 59u8, 103u8, 83u8, 77u8, 15u8, 118u8, + 193u8, 155u8, 97u8, 229u8, 36u8, 119u8, 128u8, 224u8, 162u8, 21u8, + 46u8, 199u8, 221u8, 15u8, 74u8, 59u8, 70u8, 77u8, 218u8, 73u8, 165u8, ], ) } @@ -6375,10 +6249,9 @@ pub mod api { "MinNominatorBond", vec![], [ - 187u8, 66u8, 149u8, 226u8, 72u8, 219u8, 57u8, 246u8, 102u8, - 47u8, 71u8, 12u8, 219u8, 204u8, 127u8, 223u8, 58u8, 134u8, - 81u8, 165u8, 200u8, 142u8, 196u8, 158u8, 26u8, 38u8, 165u8, - 19u8, 91u8, 251u8, 119u8, 84u8, + 187u8, 66u8, 149u8, 226u8, 72u8, 219u8, 57u8, 246u8, 102u8, 47u8, 71u8, + 12u8, 219u8, 204u8, 127u8, 223u8, 58u8, 134u8, 81u8, 165u8, 200u8, + 142u8, 196u8, 158u8, 26u8, 38u8, 165u8, 19u8, 91u8, 251u8, 119u8, 84u8, ], ) } @@ -6397,10 +6270,9 @@ pub mod api { "MinValidatorBond", vec![], [ - 48u8, 105u8, 85u8, 178u8, 142u8, 208u8, 208u8, 19u8, 236u8, - 130u8, 129u8, 169u8, 35u8, 245u8, 66u8, 182u8, 92u8, 20u8, - 22u8, 109u8, 155u8, 174u8, 87u8, 118u8, 242u8, 216u8, 193u8, - 154u8, 4u8, 5u8, 66u8, 56u8, + 48u8, 105u8, 85u8, 178u8, 142u8, 208u8, 208u8, 19u8, 236u8, 130u8, + 129u8, 169u8, 35u8, 245u8, 66u8, 182u8, 92u8, 20u8, 22u8, 109u8, 155u8, + 174u8, 87u8, 118u8, 242u8, 216u8, 193u8, 154u8, 4u8, 5u8, 66u8, 56u8, ], ) } @@ -6421,10 +6293,9 @@ pub mod api { "MinCommission", vec![], [ - 61u8, 101u8, 69u8, 27u8, 220u8, 179u8, 5u8, 71u8, 66u8, - 227u8, 84u8, 98u8, 18u8, 141u8, 183u8, 49u8, 98u8, 46u8, - 123u8, 114u8, 198u8, 85u8, 15u8, 175u8, 243u8, 239u8, 133u8, - 129u8, 146u8, 174u8, 254u8, 158u8, + 61u8, 101u8, 69u8, 27u8, 220u8, 179u8, 5u8, 71u8, 66u8, 227u8, 84u8, + 98u8, 18u8, 141u8, 183u8, 49u8, 98u8, 46u8, 123u8, 114u8, 198u8, 85u8, + 15u8, 175u8, 243u8, 239u8, 133u8, 129u8, 146u8, 174u8, 254u8, 158u8, ], ) } @@ -6442,14 +6313,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Staking", "Ledger", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 31u8, 205u8, 3u8, 165u8, 22u8, 22u8, 62u8, 92u8, 33u8, 189u8, - 124u8, 120u8, 177u8, 70u8, 27u8, 242u8, 188u8, 184u8, 204u8, - 188u8, 242u8, 140u8, 128u8, 230u8, 85u8, 99u8, 181u8, 173u8, - 67u8, 252u8, 37u8, 236u8, + 31u8, 205u8, 3u8, 165u8, 22u8, 22u8, 62u8, 92u8, 33u8, 189u8, 124u8, + 120u8, 177u8, 70u8, 27u8, 242u8, 188u8, 184u8, 204u8, 188u8, 242u8, + 140u8, 128u8, 230u8, 85u8, 99u8, 181u8, 173u8, 67u8, 252u8, 37u8, + 236u8, ], ) } @@ -6468,10 +6339,10 @@ pub mod api { "Ledger", Vec::new(), [ - 31u8, 205u8, 3u8, 165u8, 22u8, 22u8, 62u8, 92u8, 33u8, 189u8, - 124u8, 120u8, 177u8, 70u8, 27u8, 242u8, 188u8, 184u8, 204u8, - 188u8, 242u8, 140u8, 128u8, 230u8, 85u8, 99u8, 181u8, 173u8, - 67u8, 252u8, 37u8, 236u8, + 31u8, 205u8, 3u8, 165u8, 22u8, 22u8, 62u8, 92u8, 33u8, 189u8, 124u8, + 120u8, 177u8, 70u8, 27u8, 242u8, 188u8, 184u8, 204u8, 188u8, 242u8, + 140u8, 128u8, 230u8, 85u8, 99u8, 181u8, 173u8, 67u8, 252u8, 37u8, + 236u8, ], ) } @@ -6481,9 +6352,7 @@ pub mod api { _0: impl ::std::borrow::Borrow<::subxt::utils::AccountId32>, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::pallet_staking::RewardDestination< - ::subxt::utils::AccountId32, - >, + runtime_types::pallet_staking::RewardDestination<::subxt::utils::AccountId32>, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, @@ -6491,14 +6360,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Staking", "Payee", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 195u8, 125u8, 82u8, 213u8, 216u8, 64u8, 76u8, 63u8, 187u8, - 163u8, 20u8, 230u8, 153u8, 13u8, 189u8, 232u8, 119u8, 118u8, - 107u8, 17u8, 102u8, 245u8, 36u8, 42u8, 232u8, 137u8, 177u8, - 165u8, 169u8, 246u8, 199u8, 57u8, + 195u8, 125u8, 82u8, 213u8, 216u8, 64u8, 76u8, 63u8, 187u8, 163u8, 20u8, + 230u8, 153u8, 13u8, 189u8, 232u8, 119u8, 118u8, 107u8, 17u8, 102u8, + 245u8, 36u8, 42u8, 232u8, 137u8, 177u8, 165u8, 169u8, 246u8, 199u8, + 57u8, ], ) } @@ -6507,9 +6376,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::pallet_staking::RewardDestination< - ::subxt::utils::AccountId32, - >, + runtime_types::pallet_staking::RewardDestination<::subxt::utils::AccountId32>, (), ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, @@ -6519,10 +6386,10 @@ pub mod api { "Payee", Vec::new(), [ - 195u8, 125u8, 82u8, 213u8, 216u8, 64u8, 76u8, 63u8, 187u8, - 163u8, 20u8, 230u8, 153u8, 13u8, 189u8, 232u8, 119u8, 118u8, - 107u8, 17u8, 102u8, 245u8, 36u8, 42u8, 232u8, 137u8, 177u8, - 165u8, 169u8, 246u8, 199u8, 57u8, + 195u8, 125u8, 82u8, 213u8, 216u8, 64u8, 76u8, 63u8, 187u8, 163u8, 20u8, + 230u8, 153u8, 13u8, 189u8, 232u8, 119u8, 118u8, 107u8, 17u8, 102u8, + 245u8, 36u8, 42u8, 232u8, 137u8, 177u8, 165u8, 169u8, 246u8, 199u8, + 57u8, ], ) } @@ -6540,14 +6407,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Staking", "Validators", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 80u8, 77u8, 66u8, 18u8, 197u8, 250u8, 41u8, 185u8, 43u8, - 24u8, 149u8, 164u8, 208u8, 60u8, 144u8, 29u8, 251u8, 195u8, - 236u8, 196u8, 108u8, 58u8, 80u8, 115u8, 246u8, 66u8, 226u8, - 241u8, 201u8, 172u8, 229u8, 152u8, + 80u8, 77u8, 66u8, 18u8, 197u8, 250u8, 41u8, 185u8, 43u8, 24u8, 149u8, + 164u8, 208u8, 60u8, 144u8, 29u8, 251u8, 195u8, 236u8, 196u8, 108u8, + 58u8, 80u8, 115u8, 246u8, 66u8, 226u8, 241u8, 201u8, 172u8, 229u8, + 152u8, ], ) } @@ -6566,10 +6433,10 @@ pub mod api { "Validators", Vec::new(), [ - 80u8, 77u8, 66u8, 18u8, 197u8, 250u8, 41u8, 185u8, 43u8, - 24u8, 149u8, 164u8, 208u8, 60u8, 144u8, 29u8, 251u8, 195u8, - 236u8, 196u8, 108u8, 58u8, 80u8, 115u8, 246u8, 66u8, 226u8, - 241u8, 201u8, 172u8, 229u8, 152u8, + 80u8, 77u8, 66u8, 18u8, 197u8, 250u8, 41u8, 185u8, 43u8, 24u8, 149u8, + 164u8, 208u8, 60u8, 144u8, 29u8, 251u8, 195u8, 236u8, 196u8, 108u8, + 58u8, 80u8, 115u8, 246u8, 66u8, 226u8, 241u8, 201u8, 172u8, 229u8, + 152u8, ], ) } @@ -6588,10 +6455,9 @@ pub mod api { "CounterForValidators", vec![], [ - 139u8, 25u8, 223u8, 6u8, 160u8, 239u8, 212u8, 85u8, 36u8, - 185u8, 69u8, 63u8, 21u8, 156u8, 144u8, 241u8, 112u8, 85u8, - 49u8, 78u8, 88u8, 11u8, 8u8, 48u8, 118u8, 34u8, 62u8, 159u8, - 239u8, 122u8, 90u8, 45u8, + 139u8, 25u8, 223u8, 6u8, 160u8, 239u8, 212u8, 85u8, 36u8, 185u8, 69u8, + 63u8, 21u8, 156u8, 144u8, 241u8, 112u8, 85u8, 49u8, 78u8, 88u8, 11u8, + 8u8, 48u8, 118u8, 34u8, 62u8, 159u8, 239u8, 122u8, 90u8, 45u8, ], ) } @@ -6612,10 +6478,9 @@ pub mod api { "MaxValidatorsCount", vec![], [ - 250u8, 62u8, 16u8, 68u8, 192u8, 216u8, 236u8, 211u8, 217u8, - 9u8, 213u8, 49u8, 41u8, 37u8, 58u8, 62u8, 131u8, 112u8, 64u8, - 26u8, 133u8, 7u8, 130u8, 1u8, 71u8, 158u8, 14u8, 55u8, 169u8, - 239u8, 223u8, 245u8, + 250u8, 62u8, 16u8, 68u8, 192u8, 216u8, 236u8, 211u8, 217u8, 9u8, 213u8, + 49u8, 41u8, 37u8, 58u8, 62u8, 131u8, 112u8, 64u8, 26u8, 133u8, 7u8, + 130u8, 1u8, 71u8, 158u8, 14u8, 55u8, 169u8, 239u8, 223u8, 245u8, ], ) } @@ -6648,14 +6513,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Staking", "Nominators", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 1u8, 154u8, 55u8, 170u8, 215u8, 64u8, 56u8, 83u8, 254u8, - 19u8, 152u8, 85u8, 164u8, 171u8, 206u8, 129u8, 184u8, 45u8, - 221u8, 181u8, 229u8, 133u8, 200u8, 231u8, 16u8, 146u8, 247u8, - 21u8, 77u8, 122u8, 165u8, 134u8, + 1u8, 154u8, 55u8, 170u8, 215u8, 64u8, 56u8, 83u8, 254u8, 19u8, 152u8, + 85u8, 164u8, 171u8, 206u8, 129u8, 184u8, 45u8, 221u8, 181u8, 229u8, + 133u8, 200u8, 231u8, 16u8, 146u8, 247u8, 21u8, 77u8, 122u8, 165u8, + 134u8, ], ) } @@ -6689,10 +6554,10 @@ pub mod api { "Nominators", Vec::new(), [ - 1u8, 154u8, 55u8, 170u8, 215u8, 64u8, 56u8, 83u8, 254u8, - 19u8, 152u8, 85u8, 164u8, 171u8, 206u8, 129u8, 184u8, 45u8, - 221u8, 181u8, 229u8, 133u8, 200u8, 231u8, 16u8, 146u8, 247u8, - 21u8, 77u8, 122u8, 165u8, 134u8, + 1u8, 154u8, 55u8, 170u8, 215u8, 64u8, 56u8, 83u8, 254u8, 19u8, 152u8, + 85u8, 164u8, 171u8, 206u8, 129u8, 184u8, 45u8, 221u8, 181u8, 229u8, + 133u8, 200u8, 231u8, 16u8, 146u8, 247u8, 21u8, 77u8, 122u8, 165u8, + 134u8, ], ) } @@ -6711,10 +6576,9 @@ pub mod api { "CounterForNominators", vec![], [ - 31u8, 94u8, 130u8, 138u8, 75u8, 8u8, 38u8, 162u8, 181u8, 5u8, - 125u8, 116u8, 9u8, 51u8, 22u8, 234u8, 40u8, 117u8, 215u8, - 46u8, 82u8, 117u8, 225u8, 1u8, 9u8, 208u8, 83u8, 63u8, 39u8, - 187u8, 207u8, 191u8, + 31u8, 94u8, 130u8, 138u8, 75u8, 8u8, 38u8, 162u8, 181u8, 5u8, 125u8, + 116u8, 9u8, 51u8, 22u8, 234u8, 40u8, 117u8, 215u8, 46u8, 82u8, 117u8, + 225u8, 1u8, 9u8, 208u8, 83u8, 63u8, 39u8, 187u8, 207u8, 191u8, ], ) } @@ -6735,10 +6599,10 @@ pub mod api { "MaxNominatorsCount", vec![], [ - 180u8, 190u8, 180u8, 66u8, 235u8, 173u8, 76u8, 160u8, 197u8, - 92u8, 96u8, 165u8, 220u8, 188u8, 32u8, 119u8, 3u8, 73u8, - 86u8, 49u8, 104u8, 17u8, 186u8, 98u8, 221u8, 175u8, 109u8, - 254u8, 207u8, 245u8, 125u8, 179u8, + 180u8, 190u8, 180u8, 66u8, 235u8, 173u8, 76u8, 160u8, 197u8, 92u8, + 96u8, 165u8, 220u8, 188u8, 32u8, 119u8, 3u8, 73u8, 86u8, 49u8, 104u8, + 17u8, 186u8, 98u8, 221u8, 175u8, 109u8, 254u8, 207u8, 245u8, 125u8, + 179u8, ], ) } @@ -6760,10 +6624,9 @@ pub mod api { "CurrentEra", vec![], [ - 105u8, 150u8, 49u8, 122u8, 4u8, 78u8, 8u8, 121u8, 34u8, - 136u8, 157u8, 227u8, 59u8, 139u8, 7u8, 253u8, 7u8, 10u8, - 117u8, 71u8, 240u8, 74u8, 86u8, 36u8, 198u8, 37u8, 153u8, - 93u8, 196u8, 22u8, 192u8, 243u8, + 105u8, 150u8, 49u8, 122u8, 4u8, 78u8, 8u8, 121u8, 34u8, 136u8, 157u8, + 227u8, 59u8, 139u8, 7u8, 253u8, 7u8, 10u8, 117u8, 71u8, 240u8, 74u8, + 86u8, 36u8, 198u8, 37u8, 153u8, 93u8, 196u8, 22u8, 192u8, 243u8, ], ) } @@ -6785,10 +6648,9 @@ pub mod api { "ActiveEra", vec![], [ - 15u8, 112u8, 251u8, 183u8, 108u8, 61u8, 28u8, 71u8, 44u8, - 150u8, 162u8, 4u8, 143u8, 121u8, 11u8, 37u8, 83u8, 29u8, - 193u8, 21u8, 210u8, 116u8, 190u8, 236u8, 213u8, 235u8, 49u8, - 97u8, 189u8, 142u8, 251u8, 124u8, + 15u8, 112u8, 251u8, 183u8, 108u8, 61u8, 28u8, 71u8, 44u8, 150u8, 162u8, + 4u8, 143u8, 121u8, 11u8, 37u8, 83u8, 29u8, 193u8, 21u8, 210u8, 116u8, + 190u8, 236u8, 213u8, 235u8, 49u8, 97u8, 189u8, 142u8, 251u8, 124u8, ], ) } @@ -6809,14 +6671,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Staking", "ErasStartSessionIndex", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 92u8, 157u8, 168u8, 144u8, 132u8, 3u8, 212u8, 80u8, 230u8, - 229u8, 251u8, 218u8, 97u8, 55u8, 79u8, 100u8, 163u8, 91u8, - 32u8, 246u8, 122u8, 78u8, 149u8, 214u8, 103u8, 249u8, 119u8, - 20u8, 101u8, 116u8, 110u8, 185u8, + 92u8, 157u8, 168u8, 144u8, 132u8, 3u8, 212u8, 80u8, 230u8, 229u8, + 251u8, 218u8, 97u8, 55u8, 79u8, 100u8, 163u8, 91u8, 32u8, 246u8, 122u8, + 78u8, 149u8, 214u8, 103u8, 249u8, 119u8, 20u8, 101u8, 116u8, 110u8, + 185u8, ], ) } @@ -6838,10 +6700,10 @@ pub mod api { "ErasStartSessionIndex", Vec::new(), [ - 92u8, 157u8, 168u8, 144u8, 132u8, 3u8, 212u8, 80u8, 230u8, - 229u8, 251u8, 218u8, 97u8, 55u8, 79u8, 100u8, 163u8, 91u8, - 32u8, 246u8, 122u8, 78u8, 149u8, 214u8, 103u8, 249u8, 119u8, - 20u8, 101u8, 116u8, 110u8, 185u8, + 92u8, 157u8, 168u8, 144u8, 132u8, 3u8, 212u8, 80u8, 230u8, 229u8, + 251u8, 218u8, 97u8, 55u8, 79u8, 100u8, 163u8, 91u8, 32u8, 246u8, 122u8, + 78u8, 149u8, 214u8, 103u8, 249u8, 119u8, 20u8, 101u8, 116u8, 110u8, + 185u8, ], ) } @@ -6869,18 +6731,13 @@ pub mod api { "Staking", "ErasStakers", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 192u8, 50u8, 152u8, 151u8, 92u8, 180u8, 206u8, 15u8, 139u8, - 210u8, 128u8, 65u8, 92u8, 253u8, 43u8, 35u8, 139u8, 171u8, - 73u8, 185u8, 32u8, 78u8, 20u8, 197u8, 154u8, 90u8, 233u8, - 231u8, 23u8, 22u8, 187u8, 156u8, + 192u8, 50u8, 152u8, 151u8, 92u8, 180u8, 206u8, 15u8, 139u8, 210u8, + 128u8, 65u8, 92u8, 253u8, 43u8, 35u8, 139u8, 171u8, 73u8, 185u8, 32u8, + 78u8, 20u8, 197u8, 154u8, 90u8, 233u8, 231u8, 23u8, 22u8, 187u8, 156u8, ], ) } @@ -6907,10 +6764,9 @@ pub mod api { "ErasStakers", Vec::new(), [ - 192u8, 50u8, 152u8, 151u8, 92u8, 180u8, 206u8, 15u8, 139u8, - 210u8, 128u8, 65u8, 92u8, 253u8, 43u8, 35u8, 139u8, 171u8, - 73u8, 185u8, 32u8, 78u8, 20u8, 197u8, 154u8, 90u8, 233u8, - 231u8, 23u8, 22u8, 187u8, 156u8, + 192u8, 50u8, 152u8, 151u8, 92u8, 180u8, 206u8, 15u8, 139u8, 210u8, + 128u8, 65u8, 92u8, 253u8, 43u8, 35u8, 139u8, 171u8, 73u8, 185u8, 32u8, + 78u8, 20u8, 197u8, 154u8, 90u8, 233u8, 231u8, 23u8, 22u8, 187u8, 156u8, ], ) } @@ -6943,18 +6799,14 @@ pub mod api { "Staking", "ErasStakersClipped", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 43u8, 159u8, 113u8, 223u8, 122u8, 169u8, 98u8, 153u8, 26u8, - 55u8, 71u8, 119u8, 174u8, 48u8, 158u8, 45u8, 214u8, 26u8, - 136u8, 215u8, 46u8, 161u8, 185u8, 17u8, 174u8, 204u8, 206u8, - 246u8, 49u8, 87u8, 134u8, 169u8, + 43u8, 159u8, 113u8, 223u8, 122u8, 169u8, 98u8, 153u8, 26u8, 55u8, 71u8, + 119u8, 174u8, 48u8, 158u8, 45u8, 214u8, 26u8, 136u8, 215u8, 46u8, + 161u8, 185u8, 17u8, 174u8, 204u8, 206u8, 246u8, 49u8, 87u8, 134u8, + 169u8, ], ) } @@ -6986,10 +6838,10 @@ pub mod api { "ErasStakersClipped", Vec::new(), [ - 43u8, 159u8, 113u8, 223u8, 122u8, 169u8, 98u8, 153u8, 26u8, - 55u8, 71u8, 119u8, 174u8, 48u8, 158u8, 45u8, 214u8, 26u8, - 136u8, 215u8, 46u8, 161u8, 185u8, 17u8, 174u8, 204u8, 206u8, - 246u8, 49u8, 87u8, 134u8, 169u8, + 43u8, 159u8, 113u8, 223u8, 122u8, 169u8, 98u8, 153u8, 26u8, 55u8, 71u8, + 119u8, 174u8, 48u8, 158u8, 45u8, 214u8, 26u8, 136u8, 215u8, 46u8, + 161u8, 185u8, 17u8, 174u8, 204u8, 206u8, 246u8, 49u8, 87u8, 134u8, + 169u8, ], ) } @@ -7013,18 +6865,14 @@ pub mod api { "Staking", "ErasValidatorPrefs", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 6u8, 196u8, 209u8, 138u8, 252u8, 18u8, 203u8, 86u8, 129u8, - 62u8, 4u8, 56u8, 234u8, 114u8, 141u8, 136u8, 127u8, 224u8, - 142u8, 89u8, 150u8, 33u8, 31u8, 50u8, 140u8, 108u8, 124u8, - 77u8, 188u8, 102u8, 230u8, 174u8, + 6u8, 196u8, 209u8, 138u8, 252u8, 18u8, 203u8, 86u8, 129u8, 62u8, 4u8, + 56u8, 234u8, 114u8, 141u8, 136u8, 127u8, 224u8, 142u8, 89u8, 150u8, + 33u8, 31u8, 50u8, 140u8, 108u8, 124u8, 77u8, 188u8, 102u8, 230u8, + 174u8, ], ) } @@ -7047,10 +6895,10 @@ pub mod api { "ErasValidatorPrefs", Vec::new(), [ - 6u8, 196u8, 209u8, 138u8, 252u8, 18u8, 203u8, 86u8, 129u8, - 62u8, 4u8, 56u8, 234u8, 114u8, 141u8, 136u8, 127u8, 224u8, - 142u8, 89u8, 150u8, 33u8, 31u8, 50u8, 140u8, 108u8, 124u8, - 77u8, 188u8, 102u8, 230u8, 174u8, + 6u8, 196u8, 209u8, 138u8, 252u8, 18u8, 203u8, 86u8, 129u8, 62u8, 4u8, + 56u8, 234u8, 114u8, 141u8, 136u8, 127u8, 224u8, 142u8, 89u8, 150u8, + 33u8, 31u8, 50u8, 140u8, 108u8, 124u8, 77u8, 188u8, 102u8, 230u8, + 174u8, ], ) } @@ -7070,14 +6918,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Staking", "ErasValidatorReward", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 87u8, 80u8, 156u8, 123u8, 107u8, 77u8, 203u8, 37u8, 231u8, - 84u8, 124u8, 155u8, 227u8, 212u8, 212u8, 179u8, 84u8, 161u8, - 223u8, 255u8, 254u8, 107u8, 52u8, 89u8, 98u8, 169u8, 136u8, - 241u8, 104u8, 3u8, 244u8, 161u8, + 87u8, 80u8, 156u8, 123u8, 107u8, 77u8, 203u8, 37u8, 231u8, 84u8, 124u8, + 155u8, 227u8, 212u8, 212u8, 179u8, 84u8, 161u8, 223u8, 255u8, 254u8, + 107u8, 52u8, 89u8, 98u8, 169u8, 136u8, 241u8, 104u8, 3u8, 244u8, 161u8, ], ) } @@ -7098,10 +6945,9 @@ pub mod api { "ErasValidatorReward", Vec::new(), [ - 87u8, 80u8, 156u8, 123u8, 107u8, 77u8, 203u8, 37u8, 231u8, - 84u8, 124u8, 155u8, 227u8, 212u8, 212u8, 179u8, 84u8, 161u8, - 223u8, 255u8, 254u8, 107u8, 52u8, 89u8, 98u8, 169u8, 136u8, - 241u8, 104u8, 3u8, 244u8, 161u8, + 87u8, 80u8, 156u8, 123u8, 107u8, 77u8, 203u8, 37u8, 231u8, 84u8, 124u8, + 155u8, 227u8, 212u8, 212u8, 179u8, 84u8, 161u8, 223u8, 255u8, 254u8, + 107u8, 52u8, 89u8, 98u8, 169u8, 136u8, 241u8, 104u8, 3u8, 244u8, 161u8, ], ) } @@ -7112,9 +6958,7 @@ pub mod api { _0: impl ::std::borrow::Borrow<::core::primitive::u32>, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::pallet_staking::EraRewardPoints< - ::subxt::utils::AccountId32, - >, + runtime_types::pallet_staking::EraRewardPoints<::subxt::utils::AccountId32>, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, @@ -7122,14 +6966,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Staking", "ErasRewardPoints", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 194u8, 29u8, 20u8, 83u8, 200u8, 47u8, 158u8, 102u8, 88u8, - 65u8, 24u8, 255u8, 120u8, 178u8, 23u8, 232u8, 15u8, 64u8, - 206u8, 0u8, 170u8, 40u8, 18u8, 149u8, 45u8, 90u8, 179u8, - 127u8, 52u8, 59u8, 37u8, 192u8, + 194u8, 29u8, 20u8, 83u8, 200u8, 47u8, 158u8, 102u8, 88u8, 65u8, 24u8, + 255u8, 120u8, 178u8, 23u8, 232u8, 15u8, 64u8, 206u8, 0u8, 170u8, 40u8, + 18u8, 149u8, 45u8, 90u8, 179u8, 127u8, 52u8, 59u8, 37u8, 192u8, ], ) } @@ -7139,9 +6982,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::pallet_staking::EraRewardPoints< - ::subxt::utils::AccountId32, - >, + runtime_types::pallet_staking::EraRewardPoints<::subxt::utils::AccountId32>, (), ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, @@ -7151,10 +6992,9 @@ pub mod api { "ErasRewardPoints", Vec::new(), [ - 194u8, 29u8, 20u8, 83u8, 200u8, 47u8, 158u8, 102u8, 88u8, - 65u8, 24u8, 255u8, 120u8, 178u8, 23u8, 232u8, 15u8, 64u8, - 206u8, 0u8, 170u8, 40u8, 18u8, 149u8, 45u8, 90u8, 179u8, - 127u8, 52u8, 59u8, 37u8, 192u8, + 194u8, 29u8, 20u8, 83u8, 200u8, 47u8, 158u8, 102u8, 88u8, 65u8, 24u8, + 255u8, 120u8, 178u8, 23u8, 232u8, 15u8, 64u8, 206u8, 0u8, 170u8, 40u8, + 18u8, 149u8, 45u8, 90u8, 179u8, 127u8, 52u8, 59u8, 37u8, 192u8, ], ) } @@ -7173,14 +7013,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Staking", "ErasTotalStake", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 224u8, 240u8, 168u8, 69u8, 148u8, 140u8, 249u8, 240u8, 4u8, - 46u8, 77u8, 11u8, 224u8, 65u8, 26u8, 239u8, 1u8, 110u8, 53u8, - 11u8, 247u8, 235u8, 142u8, 234u8, 22u8, 43u8, 24u8, 36u8, - 37u8, 43u8, 170u8, 40u8, + 224u8, 240u8, 168u8, 69u8, 148u8, 140u8, 249u8, 240u8, 4u8, 46u8, 77u8, + 11u8, 224u8, 65u8, 26u8, 239u8, 1u8, 110u8, 53u8, 11u8, 247u8, 235u8, + 142u8, 234u8, 22u8, 43u8, 24u8, 36u8, 37u8, 43u8, 170u8, 40u8, ], ) } @@ -7200,10 +7039,9 @@ pub mod api { "ErasTotalStake", Vec::new(), [ - 224u8, 240u8, 168u8, 69u8, 148u8, 140u8, 249u8, 240u8, 4u8, - 46u8, 77u8, 11u8, 224u8, 65u8, 26u8, 239u8, 1u8, 110u8, 53u8, - 11u8, 247u8, 235u8, 142u8, 234u8, 22u8, 43u8, 24u8, 36u8, - 37u8, 43u8, 170u8, 40u8, + 224u8, 240u8, 168u8, 69u8, 148u8, 140u8, 249u8, 240u8, 4u8, 46u8, 77u8, + 11u8, 224u8, 65u8, 26u8, 239u8, 1u8, 110u8, 53u8, 11u8, 247u8, 235u8, + 142u8, 234u8, 22u8, 43u8, 24u8, 36u8, 37u8, 43u8, 170u8, 40u8, ], ) } @@ -7222,10 +7060,9 @@ pub mod api { "ForceEra", vec![], [ - 221u8, 41u8, 71u8, 21u8, 28u8, 193u8, 65u8, 97u8, 103u8, - 37u8, 145u8, 146u8, 183u8, 194u8, 57u8, 131u8, 214u8, 136u8, - 68u8, 156u8, 140u8, 194u8, 69u8, 151u8, 115u8, 177u8, 92u8, - 147u8, 29u8, 40u8, 41u8, 31u8, + 221u8, 41u8, 71u8, 21u8, 28u8, 193u8, 65u8, 97u8, 103u8, 37u8, 145u8, + 146u8, 183u8, 194u8, 57u8, 131u8, 214u8, 136u8, 68u8, 156u8, 140u8, + 194u8, 69u8, 151u8, 115u8, 177u8, 92u8, 147u8, 29u8, 40u8, 41u8, 31u8, ], ) } @@ -7246,10 +7083,10 @@ pub mod api { "SlashRewardFraction", vec![], [ - 167u8, 79u8, 143u8, 202u8, 199u8, 100u8, 129u8, 162u8, 23u8, - 165u8, 106u8, 170u8, 244u8, 86u8, 144u8, 242u8, 65u8, 207u8, - 115u8, 224u8, 231u8, 155u8, 55u8, 139u8, 101u8, 129u8, 242u8, - 196u8, 130u8, 50u8, 3u8, 117u8, + 167u8, 79u8, 143u8, 202u8, 199u8, 100u8, 129u8, 162u8, 23u8, 165u8, + 106u8, 170u8, 244u8, 86u8, 144u8, 242u8, 65u8, 207u8, 115u8, 224u8, + 231u8, 155u8, 55u8, 139u8, 101u8, 129u8, 242u8, 196u8, 130u8, 50u8, + 3u8, 117u8, ], ) } @@ -7269,10 +7106,9 @@ pub mod api { "CanceledSlashPayout", vec![], [ - 126u8, 218u8, 66u8, 92u8, 82u8, 124u8, 145u8, 161u8, 40u8, - 176u8, 14u8, 211u8, 178u8, 216u8, 8u8, 156u8, 83u8, 14u8, - 91u8, 15u8, 200u8, 170u8, 3u8, 127u8, 141u8, 139u8, 151u8, - 98u8, 74u8, 96u8, 238u8, 29u8, + 126u8, 218u8, 66u8, 92u8, 82u8, 124u8, 145u8, 161u8, 40u8, 176u8, 14u8, + 211u8, 178u8, 216u8, 8u8, 156u8, 83u8, 14u8, 91u8, 15u8, 200u8, 170u8, + 3u8, 127u8, 141u8, 139u8, 151u8, 98u8, 74u8, 96u8, 238u8, 29u8, ], ) } @@ -7295,14 +7131,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Staking", "UnappliedSlashes", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 130u8, 4u8, 163u8, 163u8, 28u8, 85u8, 34u8, 156u8, 47u8, - 125u8, 57u8, 0u8, 133u8, 176u8, 130u8, 2u8, 175u8, 180u8, - 167u8, 203u8, 230u8, 82u8, 198u8, 183u8, 55u8, 82u8, 221u8, - 248u8, 100u8, 173u8, 206u8, 151u8, + 130u8, 4u8, 163u8, 163u8, 28u8, 85u8, 34u8, 156u8, 47u8, 125u8, 57u8, + 0u8, 133u8, 176u8, 130u8, 2u8, 175u8, 180u8, 167u8, 203u8, 230u8, 82u8, + 198u8, 183u8, 55u8, 82u8, 221u8, 248u8, 100u8, 173u8, 206u8, 151u8, ], ) } @@ -7326,10 +7161,9 @@ pub mod api { "UnappliedSlashes", Vec::new(), [ - 130u8, 4u8, 163u8, 163u8, 28u8, 85u8, 34u8, 156u8, 47u8, - 125u8, 57u8, 0u8, 133u8, 176u8, 130u8, 2u8, 175u8, 180u8, - 167u8, 203u8, 230u8, 82u8, 198u8, 183u8, 55u8, 82u8, 221u8, - 248u8, 100u8, 173u8, 206u8, 151u8, + 130u8, 4u8, 163u8, 163u8, 28u8, 85u8, 34u8, 156u8, 47u8, 125u8, 57u8, + 0u8, 133u8, 176u8, 130u8, 2u8, 175u8, 180u8, 167u8, 203u8, 230u8, 82u8, + 198u8, 183u8, 55u8, 82u8, 221u8, 248u8, 100u8, 173u8, 206u8, 151u8, ], ) } @@ -7351,10 +7185,10 @@ pub mod api { "BondedEras", vec![], [ - 243u8, 162u8, 236u8, 198u8, 122u8, 182u8, 37u8, 55u8, 171u8, - 156u8, 235u8, 223u8, 226u8, 129u8, 89u8, 206u8, 2u8, 155u8, - 222u8, 154u8, 116u8, 124u8, 4u8, 119u8, 155u8, 94u8, 248u8, - 30u8, 171u8, 51u8, 78u8, 106u8, + 243u8, 162u8, 236u8, 198u8, 122u8, 182u8, 37u8, 55u8, 171u8, 156u8, + 235u8, 223u8, 226u8, 129u8, 89u8, 206u8, 2u8, 155u8, 222u8, 154u8, + 116u8, 124u8, 4u8, 119u8, 155u8, 94u8, 248u8, 30u8, 171u8, 51u8, 78u8, + 106u8, ], ) } @@ -7378,18 +7212,14 @@ pub mod api { "Staking", "ValidatorSlashInEra", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 237u8, 80u8, 3u8, 237u8, 9u8, 40u8, 212u8, 15u8, 251u8, - 196u8, 85u8, 29u8, 27u8, 151u8, 98u8, 122u8, 189u8, 147u8, - 205u8, 40u8, 202u8, 194u8, 158u8, 96u8, 138u8, 16u8, 116u8, - 71u8, 140u8, 163u8, 121u8, 197u8, + 237u8, 80u8, 3u8, 237u8, 9u8, 40u8, 212u8, 15u8, 251u8, 196u8, 85u8, + 29u8, 27u8, 151u8, 98u8, 122u8, 189u8, 147u8, 205u8, 40u8, 202u8, + 194u8, 158u8, 96u8, 138u8, 16u8, 116u8, 71u8, 140u8, 163u8, 121u8, + 197u8, ], ) } @@ -7412,10 +7242,10 @@ pub mod api { "ValidatorSlashInEra", Vec::new(), [ - 237u8, 80u8, 3u8, 237u8, 9u8, 40u8, 212u8, 15u8, 251u8, - 196u8, 85u8, 29u8, 27u8, 151u8, 98u8, 122u8, 189u8, 147u8, - 205u8, 40u8, 202u8, 194u8, 158u8, 96u8, 138u8, 16u8, 116u8, - 71u8, 140u8, 163u8, 121u8, 197u8, + 237u8, 80u8, 3u8, 237u8, 9u8, 40u8, 212u8, 15u8, 251u8, 196u8, 85u8, + 29u8, 27u8, 151u8, 98u8, 122u8, 189u8, 147u8, 205u8, 40u8, 202u8, + 194u8, 158u8, 96u8, 138u8, 16u8, 116u8, 71u8, 140u8, 163u8, 121u8, + 197u8, ], ) } @@ -7435,18 +7265,13 @@ pub mod api { "Staking", "NominatorSlashInEra", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 249u8, 85u8, 170u8, 41u8, 179u8, 194u8, 180u8, 12u8, 53u8, - 101u8, 80u8, 96u8, 166u8, 71u8, 239u8, 23u8, 153u8, 19u8, - 152u8, 38u8, 138u8, 136u8, 221u8, 200u8, 18u8, 165u8, 26u8, - 228u8, 195u8, 199u8, 62u8, 4u8, + 249u8, 85u8, 170u8, 41u8, 179u8, 194u8, 180u8, 12u8, 53u8, 101u8, 80u8, + 96u8, 166u8, 71u8, 239u8, 23u8, 153u8, 19u8, 152u8, 38u8, 138u8, 136u8, + 221u8, 200u8, 18u8, 165u8, 26u8, 228u8, 195u8, 199u8, 62u8, 4u8, ], ) } @@ -7465,10 +7290,9 @@ pub mod api { "NominatorSlashInEra", Vec::new(), [ - 249u8, 85u8, 170u8, 41u8, 179u8, 194u8, 180u8, 12u8, 53u8, - 101u8, 80u8, 96u8, 166u8, 71u8, 239u8, 23u8, 153u8, 19u8, - 152u8, 38u8, 138u8, 136u8, 221u8, 200u8, 18u8, 165u8, 26u8, - 228u8, 195u8, 199u8, 62u8, 4u8, + 249u8, 85u8, 170u8, 41u8, 179u8, 194u8, 180u8, 12u8, 53u8, 101u8, 80u8, + 96u8, 166u8, 71u8, 239u8, 23u8, 153u8, 19u8, 152u8, 38u8, 138u8, 136u8, + 221u8, 200u8, 18u8, 165u8, 26u8, 228u8, 195u8, 199u8, 62u8, 4u8, ], ) } @@ -7486,14 +7310,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Staking", "SlashingSpans", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 106u8, 115u8, 118u8, 52u8, 89u8, 77u8, 246u8, 5u8, 255u8, - 204u8, 44u8, 5u8, 66u8, 36u8, 227u8, 252u8, 86u8, 159u8, - 186u8, 152u8, 196u8, 21u8, 74u8, 201u8, 133u8, 93u8, 142u8, - 191u8, 20u8, 27u8, 218u8, 157u8, + 106u8, 115u8, 118u8, 52u8, 89u8, 77u8, 246u8, 5u8, 255u8, 204u8, 44u8, + 5u8, 66u8, 36u8, 227u8, 252u8, 86u8, 159u8, 186u8, 152u8, 196u8, 21u8, + 74u8, 201u8, 133u8, 93u8, 142u8, 191u8, 20u8, 27u8, 218u8, 157u8, ], ) } @@ -7512,10 +7335,9 @@ pub mod api { "SlashingSpans", Vec::new(), [ - 106u8, 115u8, 118u8, 52u8, 89u8, 77u8, 246u8, 5u8, 255u8, - 204u8, 44u8, 5u8, 66u8, 36u8, 227u8, 252u8, 86u8, 159u8, - 186u8, 152u8, 196u8, 21u8, 74u8, 201u8, 133u8, 93u8, 142u8, - 191u8, 20u8, 27u8, 218u8, 157u8, + 106u8, 115u8, 118u8, 52u8, 89u8, 77u8, 246u8, 5u8, 255u8, 204u8, 44u8, + 5u8, 66u8, 36u8, 227u8, 252u8, 86u8, 159u8, 186u8, 152u8, 196u8, 21u8, + 74u8, 201u8, 133u8, 93u8, 142u8, 191u8, 20u8, 27u8, 218u8, 157u8, ], ) } @@ -7527,9 +7349,7 @@ pub mod api { _1: impl ::std::borrow::Borrow<::core::primitive::u32>, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::pallet_staking::slashing::SpanRecord< - ::core::primitive::u128, - >, + runtime_types::pallet_staking::slashing::SpanRecord<::core::primitive::u128>, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, @@ -7538,18 +7358,14 @@ pub mod api { "Staking", "SpanSlash", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 160u8, 63u8, 115u8, 190u8, 233u8, 148u8, 75u8, 3u8, 11u8, - 59u8, 184u8, 220u8, 205u8, 64u8, 28u8, 190u8, 116u8, 210u8, - 225u8, 230u8, 224u8, 163u8, 103u8, 157u8, 100u8, 29u8, 86u8, - 167u8, 84u8, 217u8, 109u8, 200u8, + 160u8, 63u8, 115u8, 190u8, 233u8, 148u8, 75u8, 3u8, 11u8, 59u8, 184u8, + 220u8, 205u8, 64u8, 28u8, 190u8, 116u8, 210u8, 225u8, 230u8, 224u8, + 163u8, 103u8, 157u8, 100u8, 29u8, 86u8, 167u8, 84u8, 217u8, 109u8, + 200u8, ], ) } @@ -7559,9 +7375,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::pallet_staking::slashing::SpanRecord< - ::core::primitive::u128, - >, + runtime_types::pallet_staking::slashing::SpanRecord<::core::primitive::u128>, (), ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, @@ -7571,10 +7385,10 @@ pub mod api { "SpanSlash", Vec::new(), [ - 160u8, 63u8, 115u8, 190u8, 233u8, 148u8, 75u8, 3u8, 11u8, - 59u8, 184u8, 220u8, 205u8, 64u8, 28u8, 190u8, 116u8, 210u8, - 225u8, 230u8, 224u8, 163u8, 103u8, 157u8, 100u8, 29u8, 86u8, - 167u8, 84u8, 217u8, 109u8, 200u8, + 160u8, 63u8, 115u8, 190u8, 233u8, 148u8, 75u8, 3u8, 11u8, 59u8, 184u8, + 220u8, 205u8, 64u8, 28u8, 190u8, 116u8, 210u8, 225u8, 230u8, 224u8, + 163u8, 103u8, 157u8, 100u8, 29u8, 86u8, 167u8, 84u8, 217u8, 109u8, + 200u8, ], ) } @@ -7595,10 +7409,9 @@ pub mod api { "CurrentPlannedSession", vec![], [ - 38u8, 22u8, 56u8, 250u8, 17u8, 154u8, 99u8, 37u8, 155u8, - 253u8, 100u8, 117u8, 5u8, 239u8, 31u8, 190u8, 53u8, 241u8, - 11u8, 185u8, 163u8, 227u8, 10u8, 77u8, 210u8, 64u8, 156u8, - 218u8, 105u8, 16u8, 1u8, 57u8, + 38u8, 22u8, 56u8, 250u8, 17u8, 154u8, 99u8, 37u8, 155u8, 253u8, 100u8, + 117u8, 5u8, 239u8, 31u8, 190u8, 53u8, 241u8, 11u8, 185u8, 163u8, 227u8, + 10u8, 77u8, 210u8, 64u8, 156u8, 218u8, 105u8, 16u8, 1u8, 57u8, ], ) } @@ -7625,10 +7438,9 @@ pub mod api { "OffendingValidators", vec![], [ - 94u8, 254u8, 0u8, 50u8, 76u8, 232u8, 51u8, 153u8, 118u8, - 14u8, 70u8, 101u8, 112u8, 215u8, 173u8, 82u8, 182u8, 104u8, - 167u8, 103u8, 187u8, 168u8, 86u8, 16u8, 51u8, 235u8, 51u8, - 119u8, 38u8, 154u8, 42u8, 113u8, + 94u8, 254u8, 0u8, 50u8, 76u8, 232u8, 51u8, 153u8, 118u8, 14u8, 70u8, + 101u8, 112u8, 215u8, 173u8, 82u8, 182u8, 104u8, 167u8, 103u8, 187u8, + 168u8, 86u8, 16u8, 51u8, 235u8, 51u8, 119u8, 38u8, 154u8, 42u8, 113u8, ], ) } @@ -7650,10 +7462,9 @@ pub mod api { "StorageVersion", vec![], [ - 70u8, 24u8, 179u8, 189u8, 168u8, 164u8, 175u8, 150u8, 215u8, - 43u8, 18u8, 110u8, 180u8, 137u8, 237u8, 187u8, 185u8, 50u8, - 31u8, 57u8, 16u8, 110u8, 6u8, 170u8, 19u8, 7u8, 160u8, 134u8, - 232u8, 227u8, 151u8, 116u8, + 70u8, 24u8, 179u8, 189u8, 168u8, 164u8, 175u8, 150u8, 215u8, 43u8, + 18u8, 110u8, 180u8, 137u8, 237u8, 187u8, 185u8, 50u8, 31u8, 57u8, 16u8, + 110u8, 6u8, 170u8, 19u8, 7u8, 160u8, 134u8, 232u8, 227u8, 151u8, 116u8, ], ) } @@ -7674,10 +7485,9 @@ pub mod api { "ChillThreshold", vec![], [ - 174u8, 165u8, 249u8, 105u8, 24u8, 151u8, 115u8, 166u8, 199u8, - 251u8, 28u8, 5u8, 50u8, 95u8, 144u8, 110u8, 220u8, 76u8, - 14u8, 23u8, 179u8, 41u8, 11u8, 248u8, 28u8, 154u8, 159u8, - 255u8, 156u8, 109u8, 98u8, 92u8, + 174u8, 165u8, 249u8, 105u8, 24u8, 151u8, 115u8, 166u8, 199u8, 251u8, + 28u8, 5u8, 50u8, 95u8, 144u8, 110u8, 220u8, 76u8, 14u8, 23u8, 179u8, + 41u8, 11u8, 248u8, 28u8, 154u8, 159u8, 255u8, 156u8, 109u8, 98u8, 92u8, ], ) } @@ -7695,10 +7505,10 @@ pub mod api { "Staking", "MaxNominations", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -7722,17 +7532,15 @@ pub mod api { #[doc = " the existing value can lead to inconsistencies in the"] #[doc = " `StakingLedger` and will need to be handled properly in a migration."] #[doc = " The test `reducing_history_depth_abrupt` shows this effect."] - pub fn history_depth( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn history_depth(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Staking", "HistoryDepth", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -7744,10 +7552,10 @@ pub mod api { "Staking", "SessionsPerEra", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -7759,10 +7567,10 @@ pub mod api { "Staking", "BondingDuration", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -7777,10 +7585,10 @@ pub mod api { "Staking", "SlashDeferDuration", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -7795,10 +7603,10 @@ pub mod api { "Staking", "MaxNominatorRewardedPerValidator", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -7819,10 +7627,10 @@ pub mod api { "Staking", "MaxUnlockingChunks", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -7884,14 +7692,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Offences", "Reports", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 144u8, 30u8, 66u8, 199u8, 102u8, 236u8, 175u8, 201u8, 206u8, - 170u8, 55u8, 162u8, 137u8, 120u8, 220u8, 213u8, 57u8, 252u8, - 0u8, 88u8, 210u8, 68u8, 5u8, 25u8, 77u8, 114u8, 204u8, 23u8, - 190u8, 32u8, 211u8, 30u8, + 144u8, 30u8, 66u8, 199u8, 102u8, 236u8, 175u8, 201u8, 206u8, 170u8, + 55u8, 162u8, 137u8, 120u8, 220u8, 213u8, 57u8, 252u8, 0u8, 88u8, 210u8, + 68u8, 5u8, 25u8, 77u8, 114u8, 204u8, 23u8, 190u8, 32u8, 211u8, 30u8, ], ) } @@ -7919,10 +7726,9 @@ pub mod api { "Reports", Vec::new(), [ - 144u8, 30u8, 66u8, 199u8, 102u8, 236u8, 175u8, 201u8, 206u8, - 170u8, 55u8, 162u8, 137u8, 120u8, 220u8, 213u8, 57u8, 252u8, - 0u8, 88u8, 210u8, 68u8, 5u8, 25u8, 77u8, 114u8, 204u8, 23u8, - 190u8, 32u8, 211u8, 30u8, + 144u8, 30u8, 66u8, 199u8, 102u8, 236u8, 175u8, 201u8, 206u8, 170u8, + 55u8, 162u8, 137u8, 120u8, 220u8, 213u8, 57u8, 252u8, 0u8, 88u8, 210u8, + 68u8, 5u8, 25u8, 77u8, 114u8, 204u8, 23u8, 190u8, 32u8, 211u8, 30u8, ], ) } @@ -7942,18 +7748,13 @@ pub mod api { "Offences", "ConcurrentReportsIndex", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 106u8, 21u8, 104u8, 5u8, 4u8, 66u8, 28u8, 70u8, 161u8, 195u8, - 238u8, 28u8, 69u8, 241u8, 221u8, 113u8, 140u8, 103u8, 181u8, - 143u8, 60u8, 177u8, 13u8, 129u8, 224u8, 149u8, 77u8, 32u8, - 75u8, 74u8, 101u8, 65u8, + 106u8, 21u8, 104u8, 5u8, 4u8, 66u8, 28u8, 70u8, 161u8, 195u8, 238u8, + 28u8, 69u8, 241u8, 221u8, 113u8, 140u8, 103u8, 181u8, 143u8, 60u8, + 177u8, 13u8, 129u8, 224u8, 149u8, 77u8, 32u8, 75u8, 74u8, 101u8, 65u8, ], ) } @@ -7972,10 +7773,9 @@ pub mod api { "ConcurrentReportsIndex", Vec::new(), [ - 106u8, 21u8, 104u8, 5u8, 4u8, 66u8, 28u8, 70u8, 161u8, 195u8, - 238u8, 28u8, 69u8, 241u8, 221u8, 113u8, 140u8, 103u8, 181u8, - 143u8, 60u8, 177u8, 13u8, 129u8, 224u8, 149u8, 77u8, 32u8, - 75u8, 74u8, 101u8, 65u8, + 106u8, 21u8, 104u8, 5u8, 4u8, 66u8, 28u8, 70u8, 161u8, 195u8, 238u8, + 28u8, 69u8, 241u8, 221u8, 113u8, 140u8, 103u8, 181u8, 143u8, 60u8, + 177u8, 13u8, 129u8, 224u8, 149u8, 77u8, 32u8, 75u8, 74u8, 101u8, 65u8, ], ) } @@ -7998,14 +7798,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Offences", "ReportsByKindIndex", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 162u8, 66u8, 131u8, 48u8, 250u8, 237u8, 179u8, 214u8, 36u8, - 137u8, 226u8, 136u8, 120u8, 61u8, 215u8, 43u8, 164u8, 50u8, - 91u8, 164u8, 20u8, 96u8, 189u8, 100u8, 242u8, 106u8, 21u8, - 136u8, 98u8, 215u8, 180u8, 145u8, + 162u8, 66u8, 131u8, 48u8, 250u8, 237u8, 179u8, 214u8, 36u8, 137u8, + 226u8, 136u8, 120u8, 61u8, 215u8, 43u8, 164u8, 50u8, 91u8, 164u8, 20u8, + 96u8, 189u8, 100u8, 242u8, 106u8, 21u8, 136u8, 98u8, 215u8, 180u8, + 145u8, ], ) } @@ -8029,10 +7829,10 @@ pub mod api { "ReportsByKindIndex", Vec::new(), [ - 162u8, 66u8, 131u8, 48u8, 250u8, 237u8, 179u8, 214u8, 36u8, - 137u8, 226u8, 136u8, 120u8, 61u8, 215u8, 43u8, 164u8, 50u8, - 91u8, 164u8, 20u8, 96u8, 189u8, 100u8, 242u8, 106u8, 21u8, - 136u8, 98u8, 215u8, 180u8, 145u8, + 162u8, 66u8, 131u8, 48u8, 250u8, 237u8, 179u8, 214u8, 36u8, 137u8, + 226u8, 136u8, 120u8, 61u8, 215u8, 43u8, 164u8, 50u8, 91u8, 164u8, 20u8, + 96u8, 189u8, 100u8, 242u8, 106u8, 21u8, 136u8, 98u8, 215u8, 180u8, + 145u8, ], ) } @@ -8100,10 +7900,9 @@ pub mod api { "set_keys", SetKeys { keys, proof }, [ - 17u8, 127u8, 23u8, 71u8, 118u8, 133u8, 89u8, 105u8, 93u8, - 52u8, 46u8, 201u8, 151u8, 19u8, 124u8, 195u8, 228u8, 229u8, - 22u8, 216u8, 32u8, 54u8, 67u8, 222u8, 91u8, 175u8, 206u8, - 7u8, 238u8, 118u8, 81u8, 112u8, + 17u8, 127u8, 23u8, 71u8, 118u8, 133u8, 89u8, 105u8, 93u8, 52u8, 46u8, + 201u8, 151u8, 19u8, 124u8, 195u8, 228u8, 229u8, 22u8, 216u8, 32u8, + 54u8, 67u8, 222u8, 91u8, 175u8, 206u8, 7u8, 238u8, 118u8, 81u8, 112u8, ], ) } @@ -8129,10 +7928,9 @@ pub mod api { "purge_keys", PurgeKeys {}, [ - 200u8, 255u8, 4u8, 213u8, 188u8, 92u8, 99u8, 116u8, 163u8, - 152u8, 29u8, 35u8, 133u8, 119u8, 246u8, 44u8, 91u8, 31u8, - 145u8, 23u8, 213u8, 64u8, 71u8, 242u8, 207u8, 239u8, 231u8, - 37u8, 61u8, 63u8, 190u8, 35u8, + 200u8, 255u8, 4u8, 213u8, 188u8, 92u8, 99u8, 116u8, 163u8, 152u8, 29u8, + 35u8, 133u8, 119u8, 246u8, 44u8, 91u8, 31u8, 145u8, 23u8, 213u8, 64u8, + 71u8, 242u8, 207u8, 239u8, 231u8, 37u8, 61u8, 63u8, 190u8, 35u8, ], ) } @@ -8181,10 +7979,10 @@ pub mod api { "Validators", vec![], [ - 144u8, 235u8, 200u8, 43u8, 151u8, 57u8, 147u8, 172u8, 201u8, - 202u8, 242u8, 96u8, 57u8, 76u8, 124u8, 77u8, 42u8, 113u8, - 218u8, 220u8, 230u8, 32u8, 151u8, 152u8, 172u8, 106u8, 60u8, - 227u8, 122u8, 118u8, 137u8, 68u8, + 144u8, 235u8, 200u8, 43u8, 151u8, 57u8, 147u8, 172u8, 201u8, 202u8, + 242u8, 96u8, 57u8, 76u8, 124u8, 77u8, 42u8, 113u8, 218u8, 220u8, 230u8, + 32u8, 151u8, 152u8, 172u8, 106u8, 60u8, 227u8, 122u8, 118u8, 137u8, + 68u8, ], ) } @@ -8203,10 +8001,10 @@ pub mod api { "CurrentIndex", vec![], [ - 148u8, 179u8, 159u8, 15u8, 197u8, 95u8, 214u8, 30u8, 209u8, - 251u8, 183u8, 231u8, 91u8, 25u8, 181u8, 191u8, 143u8, 252u8, - 227u8, 80u8, 159u8, 66u8, 194u8, 67u8, 113u8, 74u8, 111u8, - 91u8, 218u8, 187u8, 130u8, 40u8, + 148u8, 179u8, 159u8, 15u8, 197u8, 95u8, 214u8, 30u8, 209u8, 251u8, + 183u8, 231u8, 91u8, 25u8, 181u8, 191u8, 143u8, 252u8, 227u8, 80u8, + 159u8, 66u8, 194u8, 67u8, 113u8, 74u8, 111u8, 91u8, 218u8, 187u8, + 130u8, 40u8, ], ) } @@ -8226,10 +8024,9 @@ pub mod api { "QueuedChanged", vec![], [ - 105u8, 140u8, 235u8, 218u8, 96u8, 100u8, 252u8, 10u8, 58u8, - 221u8, 244u8, 251u8, 67u8, 91u8, 80u8, 202u8, 152u8, 42u8, - 50u8, 113u8, 200u8, 247u8, 59u8, 213u8, 77u8, 195u8, 1u8, - 150u8, 220u8, 18u8, 245u8, 46u8, + 105u8, 140u8, 235u8, 218u8, 96u8, 100u8, 252u8, 10u8, 58u8, 221u8, + 244u8, 251u8, 67u8, 91u8, 80u8, 202u8, 152u8, 42u8, 50u8, 113u8, 200u8, + 247u8, 59u8, 213u8, 77u8, 195u8, 1u8, 150u8, 220u8, 18u8, 245u8, 46u8, ], ) } @@ -8252,10 +8049,10 @@ pub mod api { "QueuedKeys", vec![], [ - 197u8, 174u8, 245u8, 219u8, 36u8, 118u8, 73u8, 184u8, 156u8, - 93u8, 167u8, 107u8, 142u8, 7u8, 41u8, 51u8, 77u8, 191u8, - 68u8, 95u8, 71u8, 76u8, 253u8, 137u8, 73u8, 194u8, 169u8, - 234u8, 217u8, 76u8, 157u8, 223u8, + 197u8, 174u8, 245u8, 219u8, 36u8, 118u8, 73u8, 184u8, 156u8, 93u8, + 167u8, 107u8, 142u8, 7u8, 41u8, 51u8, 77u8, 191u8, 68u8, 95u8, 71u8, + 76u8, 253u8, 137u8, 73u8, 194u8, 169u8, 234u8, 217u8, 76u8, 157u8, + 223u8, ], ) } @@ -8278,10 +8075,10 @@ pub mod api { "DisabledValidators", vec![], [ - 135u8, 22u8, 22u8, 97u8, 82u8, 217u8, 144u8, 141u8, 121u8, - 240u8, 189u8, 16u8, 176u8, 88u8, 177u8, 31u8, 20u8, 242u8, - 73u8, 104u8, 11u8, 110u8, 214u8, 34u8, 52u8, 217u8, 106u8, - 33u8, 174u8, 174u8, 198u8, 84u8, + 135u8, 22u8, 22u8, 97u8, 82u8, 217u8, 144u8, 141u8, 121u8, 240u8, + 189u8, 16u8, 176u8, 88u8, 177u8, 31u8, 20u8, 242u8, 73u8, 104u8, 11u8, + 110u8, 214u8, 34u8, 52u8, 217u8, 106u8, 33u8, 174u8, 174u8, 198u8, + 84u8, ], ) } @@ -8299,14 +8096,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Session", "NextKeys", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 94u8, 197u8, 147u8, 245u8, 165u8, 97u8, 186u8, 57u8, 142u8, - 66u8, 132u8, 213u8, 126u8, 3u8, 77u8, 88u8, 191u8, 33u8, - 82u8, 153u8, 11u8, 109u8, 96u8, 252u8, 193u8, 171u8, 158u8, - 131u8, 29u8, 192u8, 248u8, 166u8, + 94u8, 197u8, 147u8, 245u8, 165u8, 97u8, 186u8, 57u8, 142u8, 66u8, + 132u8, 213u8, 126u8, 3u8, 77u8, 88u8, 191u8, 33u8, 82u8, 153u8, 11u8, + 109u8, 96u8, 252u8, 193u8, 171u8, 158u8, 131u8, 29u8, 192u8, 248u8, + 166u8, ], ) } @@ -8325,10 +8122,10 @@ pub mod api { "NextKeys", Vec::new(), [ - 94u8, 197u8, 147u8, 245u8, 165u8, 97u8, 186u8, 57u8, 142u8, - 66u8, 132u8, 213u8, 126u8, 3u8, 77u8, 88u8, 191u8, 33u8, - 82u8, 153u8, 11u8, 109u8, 96u8, 252u8, 193u8, 171u8, 158u8, - 131u8, 29u8, 192u8, 248u8, 166u8, + 94u8, 197u8, 147u8, 245u8, 165u8, 97u8, 186u8, 57u8, 142u8, 66u8, + 132u8, 213u8, 126u8, 3u8, 77u8, 88u8, 191u8, 33u8, 82u8, 153u8, 11u8, + 109u8, 96u8, 252u8, 193u8, 171u8, 158u8, 131u8, 29u8, 192u8, 248u8, + 166u8, ], ) } @@ -8348,18 +8145,13 @@ pub mod api { "Session", "KeyOwner", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 4u8, 91u8, 25u8, 84u8, 250u8, 201u8, 174u8, 129u8, 201u8, - 58u8, 197u8, 199u8, 137u8, 240u8, 118u8, 33u8, 99u8, 2u8, - 195u8, 57u8, 53u8, 172u8, 0u8, 148u8, 203u8, 144u8, 149u8, - 64u8, 135u8, 254u8, 242u8, 215u8, + 4u8, 91u8, 25u8, 84u8, 250u8, 201u8, 174u8, 129u8, 201u8, 58u8, 197u8, + 199u8, 137u8, 240u8, 118u8, 33u8, 99u8, 2u8, 195u8, 57u8, 53u8, 172u8, + 0u8, 148u8, 203u8, 144u8, 149u8, 64u8, 135u8, 254u8, 242u8, 215u8, ], ) } @@ -8378,10 +8170,9 @@ pub mod api { "KeyOwner", Vec::new(), [ - 4u8, 91u8, 25u8, 84u8, 250u8, 201u8, 174u8, 129u8, 201u8, - 58u8, 197u8, 199u8, 137u8, 240u8, 118u8, 33u8, 99u8, 2u8, - 195u8, 57u8, 53u8, 172u8, 0u8, 148u8, 203u8, 144u8, 149u8, - 64u8, 135u8, 254u8, 242u8, 215u8, + 4u8, 91u8, 25u8, 84u8, 250u8, 201u8, 174u8, 129u8, 201u8, 58u8, 197u8, + 199u8, 137u8, 240u8, 118u8, 33u8, 99u8, 2u8, 195u8, 57u8, 53u8, 172u8, + 0u8, 148u8, 203u8, 144u8, 149u8, 64u8, 135u8, 254u8, 242u8, 215u8, ], ) } @@ -8453,23 +8244,23 @@ pub mod api { #[doc = "will be reported."] pub fn report_equivocation( &self, - equivocation_proof : runtime_types :: sp_finality_grandpa :: EquivocationProof < :: subxt :: utils :: H256 , :: core :: primitive :: u32 >, + equivocation_proof: runtime_types::sp_finality_grandpa::EquivocationProof< + ::subxt::utils::H256, + ::core::primitive::u32, + >, key_owner_proof: runtime_types::sp_session::MembershipProof, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Grandpa", "report_equivocation", ReportEquivocation { - equivocation_proof: ::std::boxed::Box::new( - equivocation_proof, - ), + equivocation_proof: ::std::boxed::Box::new(equivocation_proof), key_owner_proof, }, [ - 156u8, 162u8, 189u8, 89u8, 60u8, 156u8, 129u8, 176u8, 62u8, - 35u8, 214u8, 7u8, 68u8, 245u8, 130u8, 117u8, 30u8, 3u8, 73u8, - 218u8, 142u8, 82u8, 13u8, 141u8, 124u8, 19u8, 53u8, 138u8, - 70u8, 4u8, 40u8, 32u8, + 156u8, 162u8, 189u8, 89u8, 60u8, 156u8, 129u8, 176u8, 62u8, 35u8, + 214u8, 7u8, 68u8, 245u8, 130u8, 117u8, 30u8, 3u8, 73u8, 218u8, 142u8, + 82u8, 13u8, 141u8, 124u8, 19u8, 53u8, 138u8, 70u8, 4u8, 40u8, 32u8, ], ) } @@ -8484,23 +8275,24 @@ pub mod api { #[doc = "reporter."] pub fn report_equivocation_unsigned( &self, - equivocation_proof : runtime_types :: sp_finality_grandpa :: EquivocationProof < :: subxt :: utils :: H256 , :: core :: primitive :: u32 >, + equivocation_proof: runtime_types::sp_finality_grandpa::EquivocationProof< + ::subxt::utils::H256, + ::core::primitive::u32, + >, key_owner_proof: runtime_types::sp_session::MembershipProof, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Grandpa", "report_equivocation_unsigned", ReportEquivocationUnsigned { - equivocation_proof: ::std::boxed::Box::new( - equivocation_proof, - ), + equivocation_proof: ::std::boxed::Box::new(equivocation_proof), key_owner_proof, }, [ - 166u8, 26u8, 217u8, 185u8, 215u8, 37u8, 174u8, 170u8, 137u8, - 160u8, 151u8, 43u8, 246u8, 86u8, 58u8, 18u8, 248u8, 73u8, - 99u8, 161u8, 158u8, 93u8, 212u8, 186u8, 224u8, 253u8, 234u8, - 18u8, 151u8, 111u8, 227u8, 249u8, + 166u8, 26u8, 217u8, 185u8, 215u8, 37u8, 174u8, 170u8, 137u8, 160u8, + 151u8, 43u8, 246u8, 86u8, 58u8, 18u8, 248u8, 73u8, 99u8, 161u8, 158u8, + 93u8, 212u8, 186u8, 224u8, 253u8, 234u8, 18u8, 151u8, 111u8, 227u8, + 249u8, ], ) } @@ -8529,10 +8321,10 @@ pub mod api { best_finalized_block_number, }, [ - 197u8, 236u8, 137u8, 32u8, 46u8, 200u8, 144u8, 13u8, 89u8, - 181u8, 235u8, 73u8, 167u8, 131u8, 174u8, 93u8, 42u8, 136u8, - 238u8, 59u8, 129u8, 60u8, 83u8, 100u8, 5u8, 182u8, 99u8, - 250u8, 145u8, 180u8, 1u8, 199u8, + 197u8, 236u8, 137u8, 32u8, 46u8, 200u8, 144u8, 13u8, 89u8, 181u8, + 235u8, 73u8, 167u8, 131u8, 174u8, 93u8, 42u8, 136u8, 238u8, 59u8, + 129u8, 60u8, 83u8, 100u8, 5u8, 182u8, 99u8, 250u8, 145u8, 180u8, 1u8, + 199u8, ], ) } @@ -8612,10 +8404,10 @@ pub mod api { "State", vec![], [ - 211u8, 149u8, 114u8, 217u8, 206u8, 194u8, 115u8, 67u8, 12u8, - 218u8, 246u8, 213u8, 208u8, 29u8, 216u8, 104u8, 2u8, 39u8, - 123u8, 172u8, 252u8, 210u8, 52u8, 129u8, 147u8, 237u8, 244u8, - 68u8, 252u8, 169u8, 97u8, 148u8, + 211u8, 149u8, 114u8, 217u8, 206u8, 194u8, 115u8, 67u8, 12u8, 218u8, + 246u8, 213u8, 208u8, 29u8, 216u8, 104u8, 2u8, 39u8, 123u8, 172u8, + 252u8, 210u8, 52u8, 129u8, 147u8, 237u8, 244u8, 68u8, 252u8, 169u8, + 97u8, 148u8, ], ) } @@ -8624,9 +8416,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::pallet_grandpa::StoredPendingChange< - ::core::primitive::u32, - >, + runtime_types::pallet_grandpa::StoredPendingChange<::core::primitive::u32>, ::subxt::storage::address::Yes, (), (), @@ -8636,10 +8426,9 @@ pub mod api { "PendingChange", vec![], [ - 178u8, 24u8, 140u8, 7u8, 8u8, 196u8, 18u8, 58u8, 3u8, 226u8, - 181u8, 47u8, 155u8, 160u8, 70u8, 12u8, 75u8, 189u8, 38u8, - 255u8, 104u8, 141u8, 64u8, 34u8, 134u8, 201u8, 102u8, 21u8, - 75u8, 81u8, 218u8, 60u8, + 178u8, 24u8, 140u8, 7u8, 8u8, 196u8, 18u8, 58u8, 3u8, 226u8, 181u8, + 47u8, 155u8, 160u8, 70u8, 12u8, 75u8, 189u8, 38u8, 255u8, 104u8, 141u8, + 64u8, 34u8, 134u8, 201u8, 102u8, 21u8, 75u8, 81u8, 218u8, 60u8, ], ) } @@ -8658,10 +8447,9 @@ pub mod api { "NextForced", vec![], [ - 99u8, 43u8, 245u8, 201u8, 60u8, 9u8, 122u8, 99u8, 188u8, - 29u8, 67u8, 6u8, 193u8, 133u8, 179u8, 67u8, 202u8, 208u8, - 62u8, 179u8, 19u8, 169u8, 196u8, 119u8, 107u8, 75u8, 100u8, - 3u8, 121u8, 18u8, 80u8, 156u8, + 99u8, 43u8, 245u8, 201u8, 60u8, 9u8, 122u8, 99u8, 188u8, 29u8, 67u8, + 6u8, 193u8, 133u8, 179u8, 67u8, 202u8, 208u8, 62u8, 179u8, 19u8, 169u8, + 196u8, 119u8, 107u8, 75u8, 100u8, 3u8, 121u8, 18u8, 80u8, 156u8, ], ) } @@ -8680,10 +8468,10 @@ pub mod api { "Stalled", vec![], [ - 219u8, 8u8, 37u8, 78u8, 150u8, 55u8, 0u8, 57u8, 201u8, 170u8, - 186u8, 189u8, 56u8, 161u8, 44u8, 15u8, 53u8, 178u8, 224u8, - 208u8, 231u8, 109u8, 14u8, 209u8, 57u8, 205u8, 237u8, 153u8, - 231u8, 156u8, 24u8, 185u8, + 219u8, 8u8, 37u8, 78u8, 150u8, 55u8, 0u8, 57u8, 201u8, 170u8, 186u8, + 189u8, 56u8, 161u8, 44u8, 15u8, 53u8, 178u8, 224u8, 208u8, 231u8, + 109u8, 14u8, 209u8, 57u8, 205u8, 237u8, 153u8, 231u8, 156u8, 24u8, + 185u8, ], ) } @@ -8703,10 +8491,10 @@ pub mod api { "CurrentSetId", vec![], [ - 129u8, 7u8, 62u8, 101u8, 199u8, 60u8, 56u8, 33u8, 54u8, - 158u8, 20u8, 178u8, 244u8, 145u8, 189u8, 197u8, 157u8, 163u8, - 116u8, 36u8, 105u8, 52u8, 149u8, 244u8, 108u8, 94u8, 109u8, - 111u8, 244u8, 137u8, 7u8, 108u8, + 129u8, 7u8, 62u8, 101u8, 199u8, 60u8, 56u8, 33u8, 54u8, 158u8, 20u8, + 178u8, 244u8, 145u8, 189u8, 197u8, 157u8, 163u8, 116u8, 36u8, 105u8, + 52u8, 149u8, 244u8, 108u8, 94u8, 109u8, 111u8, 244u8, 137u8, 7u8, + 108u8, ], ) } @@ -8727,14 +8515,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Grandpa", "SetIdSession", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 91u8, 175u8, 145u8, 127u8, 242u8, 81u8, 13u8, 231u8, 110u8, - 11u8, 166u8, 169u8, 103u8, 146u8, 123u8, 133u8, 157u8, 15u8, - 33u8, 234u8, 108u8, 13u8, 88u8, 115u8, 254u8, 9u8, 145u8, - 199u8, 102u8, 47u8, 53u8, 134u8, + 91u8, 175u8, 145u8, 127u8, 242u8, 81u8, 13u8, 231u8, 110u8, 11u8, + 166u8, 169u8, 103u8, 146u8, 123u8, 133u8, 157u8, 15u8, 33u8, 234u8, + 108u8, 13u8, 88u8, 115u8, 254u8, 9u8, 145u8, 199u8, 102u8, 47u8, 53u8, + 134u8, ], ) } @@ -8756,10 +8544,10 @@ pub mod api { "SetIdSession", Vec::new(), [ - 91u8, 175u8, 145u8, 127u8, 242u8, 81u8, 13u8, 231u8, 110u8, - 11u8, 166u8, 169u8, 103u8, 146u8, 123u8, 133u8, 157u8, 15u8, - 33u8, 234u8, 108u8, 13u8, 88u8, 115u8, 254u8, 9u8, 145u8, - 199u8, 102u8, 47u8, 53u8, 134u8, + 91u8, 175u8, 145u8, 127u8, 242u8, 81u8, 13u8, 231u8, 110u8, 11u8, + 166u8, 169u8, 103u8, 146u8, 123u8, 133u8, 157u8, 15u8, 33u8, 234u8, + 108u8, 13u8, 88u8, 115u8, 254u8, 9u8, 145u8, 199u8, 102u8, 47u8, 53u8, + 134u8, ], ) } @@ -8777,10 +8565,10 @@ pub mod api { "Grandpa", "MaxAuthorities", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -8805,10 +8593,8 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Heartbeat { - pub heartbeat: - runtime_types::pallet_im_online::Heartbeat<::core::primitive::u32>, - pub signature: - runtime_types::pallet_im_online::sr25519::app_sr25519::Signature, + pub heartbeat: runtime_types::pallet_im_online::Heartbeat<::core::primitive::u32>, + pub signature: runtime_types::pallet_im_online::sr25519::app_sr25519::Signature, } pub struct TransactionApi; impl TransactionApi { @@ -8823,10 +8609,8 @@ pub mod api { #[doc = "# "] pub fn heartbeat( &self, - heartbeat: runtime_types::pallet_im_online::Heartbeat< - ::core::primitive::u32, - >, - signature : runtime_types :: pallet_im_online :: sr25519 :: app_sr25519 :: Signature, + heartbeat: runtime_types::pallet_im_online::Heartbeat<::core::primitive::u32>, + signature: runtime_types::pallet_im_online::sr25519::app_sr25519::Signature, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "ImOnline", @@ -8836,10 +8620,10 @@ pub mod api { signature, }, [ - 212u8, 23u8, 174u8, 246u8, 60u8, 220u8, 178u8, 137u8, 53u8, - 146u8, 165u8, 225u8, 179u8, 209u8, 233u8, 152u8, 129u8, - 210u8, 126u8, 32u8, 216u8, 22u8, 76u8, 196u8, 255u8, 128u8, - 246u8, 161u8, 30u8, 186u8, 249u8, 34u8, + 212u8, 23u8, 174u8, 246u8, 60u8, 220u8, 178u8, 137u8, 53u8, 146u8, + 165u8, 225u8, 179u8, 209u8, 233u8, 152u8, 129u8, 210u8, 126u8, 32u8, + 216u8, 22u8, 76u8, 196u8, 255u8, 128u8, 246u8, 161u8, 30u8, 186u8, + 249u8, 34u8, ], ) } @@ -8860,8 +8644,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A new heartbeat was received from `AuthorityId`."] pub struct HeartbeatReceived { - pub authority_id: - runtime_types::pallet_im_online::sr25519::app_sr25519::Public, + pub authority_id: runtime_types::pallet_im_online::sr25519::app_sr25519::Public, } impl ::subxt::events::StaticEvent for HeartbeatReceived { const PALLET: &'static str = "ImOnline"; @@ -8935,10 +8718,10 @@ pub mod api { "HeartbeatAfter", vec![], [ - 108u8, 100u8, 85u8, 198u8, 226u8, 122u8, 94u8, 225u8, 97u8, - 154u8, 135u8, 95u8, 106u8, 28u8, 185u8, 78u8, 192u8, 196u8, - 35u8, 191u8, 12u8, 19u8, 163u8, 46u8, 232u8, 235u8, 193u8, - 81u8, 126u8, 204u8, 25u8, 228u8, + 108u8, 100u8, 85u8, 198u8, 226u8, 122u8, 94u8, 225u8, 97u8, 154u8, + 135u8, 95u8, 106u8, 28u8, 185u8, 78u8, 192u8, 196u8, 35u8, 191u8, 12u8, + 19u8, 163u8, 46u8, 232u8, 235u8, 193u8, 81u8, 126u8, 204u8, 25u8, + 228u8, ], ) } @@ -8959,10 +8742,10 @@ pub mod api { "Keys", vec![], [ - 6u8, 198u8, 221u8, 58u8, 14u8, 166u8, 245u8, 103u8, 191u8, - 20u8, 69u8, 233u8, 147u8, 245u8, 24u8, 64u8, 207u8, 180u8, - 39u8, 208u8, 252u8, 236u8, 247u8, 112u8, 187u8, 97u8, 70u8, - 11u8, 248u8, 148u8, 208u8, 106u8, + 6u8, 198u8, 221u8, 58u8, 14u8, 166u8, 245u8, 103u8, 191u8, 20u8, 69u8, + 233u8, 147u8, 245u8, 24u8, 64u8, 207u8, 180u8, 39u8, 208u8, 252u8, + 236u8, 247u8, 112u8, 187u8, 97u8, 70u8, 11u8, 248u8, 148u8, 208u8, + 106u8, ], ) } @@ -8985,18 +8768,14 @@ pub mod api { "ImOnline", "ReceivedHeartbeats", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 233u8, 128u8, 140u8, 233u8, 55u8, 146u8, 172u8, 54u8, 54u8, - 57u8, 141u8, 106u8, 168u8, 59u8, 147u8, 253u8, 119u8, 48u8, - 50u8, 251u8, 242u8, 109u8, 251u8, 2u8, 136u8, 80u8, 146u8, - 121u8, 180u8, 219u8, 245u8, 37u8, + 233u8, 128u8, 140u8, 233u8, 55u8, 146u8, 172u8, 54u8, 54u8, 57u8, + 141u8, 106u8, 168u8, 59u8, 147u8, 253u8, 119u8, 48u8, 50u8, 251u8, + 242u8, 109u8, 251u8, 2u8, 136u8, 80u8, 146u8, 121u8, 180u8, 219u8, + 245u8, 37u8, ], ) } @@ -9018,10 +8797,10 @@ pub mod api { "ReceivedHeartbeats", Vec::new(), [ - 233u8, 128u8, 140u8, 233u8, 55u8, 146u8, 172u8, 54u8, 54u8, - 57u8, 141u8, 106u8, 168u8, 59u8, 147u8, 253u8, 119u8, 48u8, - 50u8, 251u8, 242u8, 109u8, 251u8, 2u8, 136u8, 80u8, 146u8, - 121u8, 180u8, 219u8, 245u8, 37u8, + 233u8, 128u8, 140u8, 233u8, 55u8, 146u8, 172u8, 54u8, 54u8, 57u8, + 141u8, 106u8, 168u8, 59u8, 147u8, 253u8, 119u8, 48u8, 50u8, 251u8, + 242u8, 109u8, 251u8, 2u8, 136u8, 80u8, 146u8, 121u8, 180u8, 219u8, + 245u8, 37u8, ], ) } @@ -9042,18 +8821,14 @@ pub mod api { "ImOnline", "AuthoredBlocks", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 50u8, 4u8, 242u8, 240u8, 247u8, 184u8, 114u8, 245u8, 233u8, - 170u8, 24u8, 197u8, 18u8, 245u8, 8u8, 28u8, 33u8, 115u8, - 166u8, 245u8, 221u8, 223u8, 56u8, 144u8, 33u8, 139u8, 10u8, - 227u8, 228u8, 223u8, 103u8, 151u8, + 50u8, 4u8, 242u8, 240u8, 247u8, 184u8, 114u8, 245u8, 233u8, 170u8, + 24u8, 197u8, 18u8, 245u8, 8u8, 28u8, 33u8, 115u8, 166u8, 245u8, 221u8, + 223u8, 56u8, 144u8, 33u8, 139u8, 10u8, 227u8, 228u8, 223u8, 103u8, + 151u8, ], ) } @@ -9073,10 +8848,10 @@ pub mod api { "AuthoredBlocks", Vec::new(), [ - 50u8, 4u8, 242u8, 240u8, 247u8, 184u8, 114u8, 245u8, 233u8, - 170u8, 24u8, 197u8, 18u8, 245u8, 8u8, 28u8, 33u8, 115u8, - 166u8, 245u8, 221u8, 223u8, 56u8, 144u8, 33u8, 139u8, 10u8, - 227u8, 228u8, 223u8, 103u8, 151u8, + 50u8, 4u8, 242u8, 240u8, 247u8, 184u8, 114u8, 245u8, 233u8, 170u8, + 24u8, 197u8, 18u8, 245u8, 8u8, 28u8, 33u8, 115u8, 166u8, 245u8, 221u8, + 223u8, 56u8, 144u8, 33u8, 139u8, 10u8, 227u8, 228u8, 223u8, 103u8, + 151u8, ], ) } @@ -9097,10 +8872,10 @@ pub mod api { "ImOnline", "UnsignedPriority", [ - 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, - 190u8, 146u8, 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, - 65u8, 18u8, 191u8, 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, - 220u8, 42u8, 184u8, 239u8, 42u8, 246u8, + 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, 190u8, 146u8, + 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, 65u8, 18u8, 191u8, + 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, 220u8, 42u8, 184u8, 239u8, 42u8, + 246u8, ], ) } @@ -9160,9 +8935,8 @@ pub mod api { pub struct Vote { #[codec(compact)] pub ref_index: ::core::primitive::u32, - pub vote: runtime_types::pallet_democracy::vote::AccountVote< - ::core::primitive::u128, - >, + pub vote: + runtime_types::pallet_democracy::vote::AccountVote<::core::primitive::u128>, } #[derive( :: subxt :: ext :: codec :: CompactAs, @@ -9379,10 +9153,9 @@ pub mod api { "propose", Propose { proposal, value }, [ - 123u8, 3u8, 204u8, 140u8, 194u8, 195u8, 214u8, 39u8, 167u8, - 126u8, 45u8, 4u8, 219u8, 17u8, 143u8, 185u8, 29u8, 224u8, - 230u8, 68u8, 253u8, 15u8, 170u8, 90u8, 232u8, 123u8, 46u8, - 255u8, 168u8, 39u8, 204u8, 63u8, + 123u8, 3u8, 204u8, 140u8, 194u8, 195u8, 214u8, 39u8, 167u8, 126u8, + 45u8, 4u8, 219u8, 17u8, 143u8, 185u8, 29u8, 224u8, 230u8, 68u8, 253u8, + 15u8, 170u8, 90u8, 232u8, 123u8, 46u8, 255u8, 168u8, 39u8, 204u8, 63u8, ], ) } @@ -9401,10 +9174,9 @@ pub mod api { "second", Second { proposal }, [ - 59u8, 240u8, 183u8, 218u8, 61u8, 93u8, 184u8, 67u8, 10u8, - 4u8, 138u8, 196u8, 168u8, 49u8, 42u8, 69u8, 154u8, 42u8, - 90u8, 112u8, 179u8, 69u8, 51u8, 148u8, 159u8, 212u8, 221u8, - 226u8, 132u8, 228u8, 51u8, 83u8, + 59u8, 240u8, 183u8, 218u8, 61u8, 93u8, 184u8, 67u8, 10u8, 4u8, 138u8, + 196u8, 168u8, 49u8, 42u8, 69u8, 154u8, 42u8, 90u8, 112u8, 179u8, 69u8, + 51u8, 148u8, 159u8, 212u8, 221u8, 226u8, 132u8, 228u8, 51u8, 83u8, ], ) } @@ -9427,10 +9199,9 @@ pub mod api { "vote", Vote { ref_index, vote }, [ - 138u8, 213u8, 229u8, 111u8, 1u8, 191u8, 73u8, 3u8, 145u8, - 28u8, 44u8, 88u8, 163u8, 188u8, 129u8, 188u8, 64u8, 15u8, - 64u8, 103u8, 250u8, 97u8, 234u8, 188u8, 29u8, 205u8, 51u8, - 6u8, 116u8, 58u8, 156u8, 201u8, + 138u8, 213u8, 229u8, 111u8, 1u8, 191u8, 73u8, 3u8, 145u8, 28u8, 44u8, + 88u8, 163u8, 188u8, 129u8, 188u8, 64u8, 15u8, 64u8, 103u8, 250u8, 97u8, + 234u8, 188u8, 29u8, 205u8, 51u8, 6u8, 116u8, 58u8, 156u8, 201u8, ], ) } @@ -9451,10 +9222,10 @@ pub mod api { "emergency_cancel", EmergencyCancel { ref_index }, [ - 139u8, 213u8, 133u8, 75u8, 34u8, 206u8, 124u8, 245u8, 35u8, - 237u8, 132u8, 92u8, 49u8, 167u8, 117u8, 80u8, 188u8, 93u8, - 198u8, 237u8, 132u8, 77u8, 195u8, 65u8, 29u8, 37u8, 86u8, - 74u8, 214u8, 119u8, 71u8, 204u8, + 139u8, 213u8, 133u8, 75u8, 34u8, 206u8, 124u8, 245u8, 35u8, 237u8, + 132u8, 92u8, 49u8, 167u8, 117u8, 80u8, 188u8, 93u8, 198u8, 237u8, + 132u8, 77u8, 195u8, 65u8, 29u8, 37u8, 86u8, 74u8, 214u8, 119u8, 71u8, + 204u8, ], ) } @@ -9475,10 +9246,9 @@ pub mod api { "external_propose", ExternalPropose { proposal }, [ - 164u8, 193u8, 14u8, 122u8, 105u8, 232u8, 20u8, 194u8, 99u8, - 227u8, 36u8, 105u8, 218u8, 146u8, 16u8, 208u8, 56u8, 62u8, - 100u8, 65u8, 35u8, 33u8, 51u8, 208u8, 17u8, 43u8, 223u8, - 198u8, 202u8, 16u8, 56u8, 75u8, + 164u8, 193u8, 14u8, 122u8, 105u8, 232u8, 20u8, 194u8, 99u8, 227u8, + 36u8, 105u8, 218u8, 146u8, 16u8, 208u8, 56u8, 62u8, 100u8, 65u8, 35u8, + 33u8, 51u8, 208u8, 17u8, 43u8, 223u8, 198u8, 202u8, 16u8, 56u8, 75u8, ], ) } @@ -9504,10 +9274,10 @@ pub mod api { "external_propose_majority", ExternalProposeMajority { proposal }, [ - 129u8, 124u8, 147u8, 253u8, 69u8, 115u8, 230u8, 186u8, 155u8, - 4u8, 220u8, 103u8, 28u8, 132u8, 115u8, 153u8, 196u8, 88u8, - 9u8, 130u8, 129u8, 234u8, 75u8, 96u8, 202u8, 216u8, 145u8, - 189u8, 231u8, 101u8, 127u8, 11u8, + 129u8, 124u8, 147u8, 253u8, 69u8, 115u8, 230u8, 186u8, 155u8, 4u8, + 220u8, 103u8, 28u8, 132u8, 115u8, 153u8, 196u8, 88u8, 9u8, 130u8, + 129u8, 234u8, 75u8, 96u8, 202u8, 216u8, 145u8, 189u8, 231u8, 101u8, + 127u8, 11u8, ], ) } @@ -9533,10 +9303,9 @@ pub mod api { "external_propose_default", ExternalProposeDefault { proposal }, [ - 96u8, 15u8, 108u8, 208u8, 141u8, 247u8, 4u8, 73u8, 2u8, 30u8, - 231u8, 40u8, 184u8, 250u8, 42u8, 161u8, 248u8, 45u8, 217u8, - 50u8, 53u8, 13u8, 181u8, 214u8, 136u8, 51u8, 93u8, 95u8, - 165u8, 3u8, 83u8, 190u8, + 96u8, 15u8, 108u8, 208u8, 141u8, 247u8, 4u8, 73u8, 2u8, 30u8, 231u8, + 40u8, 184u8, 250u8, 42u8, 161u8, 248u8, 45u8, 217u8, 50u8, 53u8, 13u8, + 181u8, 214u8, 136u8, 51u8, 93u8, 95u8, 165u8, 3u8, 83u8, 190u8, ], ) } @@ -9571,10 +9340,9 @@ pub mod api { delay, }, [ - 125u8, 209u8, 107u8, 120u8, 93u8, 205u8, 129u8, 147u8, 254u8, - 126u8, 45u8, 126u8, 39u8, 0u8, 56u8, 14u8, 233u8, 49u8, - 245u8, 220u8, 156u8, 10u8, 252u8, 31u8, 102u8, 90u8, 163u8, - 236u8, 178u8, 85u8, 13u8, 24u8, + 125u8, 209u8, 107u8, 120u8, 93u8, 205u8, 129u8, 147u8, 254u8, 126u8, + 45u8, 126u8, 39u8, 0u8, 56u8, 14u8, 233u8, 49u8, 245u8, 220u8, 156u8, + 10u8, 252u8, 31u8, 102u8, 90u8, 163u8, 236u8, 178u8, 85u8, 13u8, 24u8, ], ) } @@ -9596,10 +9364,10 @@ pub mod api { "veto_external", VetoExternal { proposal_hash }, [ - 209u8, 18u8, 18u8, 103u8, 186u8, 160u8, 214u8, 124u8, 150u8, - 207u8, 112u8, 90u8, 84u8, 197u8, 95u8, 157u8, 165u8, 65u8, - 109u8, 101u8, 75u8, 201u8, 41u8, 149u8, 75u8, 154u8, 37u8, - 178u8, 239u8, 121u8, 124u8, 23u8, + 209u8, 18u8, 18u8, 103u8, 186u8, 160u8, 214u8, 124u8, 150u8, 207u8, + 112u8, 90u8, 84u8, 197u8, 95u8, 157u8, 165u8, 65u8, 109u8, 101u8, 75u8, + 201u8, 41u8, 149u8, 75u8, 154u8, 37u8, 178u8, 239u8, 121u8, 124u8, + 23u8, ], ) } @@ -9619,10 +9387,10 @@ pub mod api { "cancel_referendum", CancelReferendum { ref_index }, [ - 51u8, 25u8, 25u8, 251u8, 236u8, 115u8, 130u8, 230u8, 72u8, - 186u8, 119u8, 71u8, 165u8, 137u8, 55u8, 167u8, 187u8, 128u8, - 55u8, 8u8, 212u8, 139u8, 245u8, 232u8, 103u8, 136u8, 229u8, - 113u8, 125u8, 36u8, 1u8, 149u8, + 51u8, 25u8, 25u8, 251u8, 236u8, 115u8, 130u8, 230u8, 72u8, 186u8, + 119u8, 71u8, 165u8, 137u8, 55u8, 167u8, 187u8, 128u8, 55u8, 8u8, 212u8, + 139u8, 245u8, 232u8, 103u8, 136u8, 229u8, 113u8, 125u8, 36u8, 1u8, + 149u8, ], ) } @@ -9661,10 +9429,10 @@ pub mod api { balance, }, [ - 22u8, 205u8, 202u8, 196u8, 63u8, 1u8, 196u8, 109u8, 4u8, - 190u8, 38u8, 142u8, 248u8, 200u8, 136u8, 12u8, 194u8, 170u8, - 237u8, 176u8, 70u8, 21u8, 112u8, 154u8, 93u8, 169u8, 211u8, - 120u8, 156u8, 68u8, 14u8, 231u8, + 22u8, 205u8, 202u8, 196u8, 63u8, 1u8, 196u8, 109u8, 4u8, 190u8, 38u8, + 142u8, 248u8, 200u8, 136u8, 12u8, 194u8, 170u8, 237u8, 176u8, 70u8, + 21u8, 112u8, 154u8, 93u8, 169u8, 211u8, 120u8, 156u8, 68u8, 14u8, + 231u8, ], ) } @@ -9686,10 +9454,10 @@ pub mod api { "undelegate", Undelegate {}, [ - 165u8, 40u8, 183u8, 209u8, 57u8, 153u8, 111u8, 29u8, 114u8, - 109u8, 107u8, 235u8, 97u8, 61u8, 53u8, 155u8, 44u8, 245u8, - 28u8, 220u8, 56u8, 134u8, 43u8, 122u8, 248u8, 156u8, 191u8, - 154u8, 4u8, 121u8, 152u8, 153u8, + 165u8, 40u8, 183u8, 209u8, 57u8, 153u8, 111u8, 29u8, 114u8, 109u8, + 107u8, 235u8, 97u8, 61u8, 53u8, 155u8, 44u8, 245u8, 28u8, 220u8, 56u8, + 134u8, 43u8, 122u8, 248u8, 156u8, 191u8, 154u8, 4u8, 121u8, 152u8, + 153u8, ], ) } @@ -9698,18 +9466,16 @@ pub mod api { #[doc = "The dispatch origin of this call must be _Root_."] #[doc = ""] #[doc = "Weight: `O(1)`."] - pub fn clear_public_proposals( - &self, - ) -> ::subxt::tx::Payload { + pub fn clear_public_proposals(&self) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Democracy", "clear_public_proposals", ClearPublicProposals {}, [ - 59u8, 126u8, 254u8, 223u8, 252u8, 225u8, 75u8, 185u8, 188u8, - 181u8, 42u8, 179u8, 211u8, 73u8, 12u8, 141u8, 243u8, 197u8, - 46u8, 130u8, 215u8, 196u8, 225u8, 88u8, 48u8, 199u8, 231u8, - 249u8, 195u8, 53u8, 184u8, 204u8, + 59u8, 126u8, 254u8, 223u8, 252u8, 225u8, 75u8, 185u8, 188u8, 181u8, + 42u8, 179u8, 211u8, 73u8, 12u8, 141u8, 243u8, 197u8, 46u8, 130u8, + 215u8, 196u8, 225u8, 88u8, 48u8, 199u8, 231u8, 249u8, 195u8, 53u8, + 184u8, 204u8, ], ) } @@ -9729,10 +9495,9 @@ pub mod api { "unlock", Unlock { target }, [ - 126u8, 151u8, 230u8, 89u8, 49u8, 247u8, 242u8, 139u8, 190u8, - 15u8, 47u8, 2u8, 132u8, 165u8, 48u8, 205u8, 196u8, 66u8, - 230u8, 222u8, 164u8, 249u8, 152u8, 107u8, 0u8, 99u8, 238u8, - 167u8, 72u8, 77u8, 145u8, 236u8, + 126u8, 151u8, 230u8, 89u8, 49u8, 247u8, 242u8, 139u8, 190u8, 15u8, + 47u8, 2u8, 132u8, 165u8, 48u8, 205u8, 196u8, 66u8, 230u8, 222u8, 164u8, + 249u8, 152u8, 107u8, 0u8, 99u8, 238u8, 167u8, 72u8, 77u8, 145u8, 236u8, ], ) } @@ -9772,10 +9537,10 @@ pub mod api { "remove_vote", RemoveVote { index }, [ - 148u8, 120u8, 14u8, 172u8, 81u8, 152u8, 159u8, 178u8, 106u8, - 244u8, 36u8, 98u8, 120u8, 189u8, 213u8, 93u8, 119u8, 156u8, - 112u8, 34u8, 241u8, 72u8, 206u8, 113u8, 212u8, 161u8, 164u8, - 126u8, 122u8, 82u8, 160u8, 74u8, + 148u8, 120u8, 14u8, 172u8, 81u8, 152u8, 159u8, 178u8, 106u8, 244u8, + 36u8, 98u8, 120u8, 189u8, 213u8, 93u8, 119u8, 156u8, 112u8, 34u8, + 241u8, 72u8, 206u8, 113u8, 212u8, 161u8, 164u8, 126u8, 122u8, 82u8, + 160u8, 74u8, ], ) } @@ -9804,10 +9569,9 @@ pub mod api { "remove_other_vote", RemoveOtherVote { target, index }, [ - 151u8, 190u8, 115u8, 124u8, 185u8, 43u8, 70u8, 147u8, 98u8, - 167u8, 120u8, 25u8, 231u8, 143u8, 214u8, 25u8, 240u8, 74u8, - 35u8, 58u8, 206u8, 78u8, 121u8, 215u8, 190u8, 42u8, 2u8, - 206u8, 241u8, 44u8, 92u8, 23u8, + 151u8, 190u8, 115u8, 124u8, 185u8, 43u8, 70u8, 147u8, 98u8, 167u8, + 120u8, 25u8, 231u8, 143u8, 214u8, 25u8, 240u8, 74u8, 35u8, 58u8, 206u8, + 78u8, 121u8, 215u8, 190u8, 42u8, 2u8, 206u8, 241u8, 44u8, 92u8, 23u8, ], ) } @@ -9839,10 +9603,10 @@ pub mod api { maybe_ref_index, }, [ - 48u8, 144u8, 81u8, 164u8, 54u8, 111u8, 197u8, 134u8, 6u8, - 98u8, 121u8, 179u8, 254u8, 191u8, 204u8, 212u8, 84u8, 255u8, - 86u8, 110u8, 225u8, 130u8, 26u8, 65u8, 133u8, 56u8, 231u8, - 15u8, 245u8, 137u8, 146u8, 242u8, + 48u8, 144u8, 81u8, 164u8, 54u8, 111u8, 197u8, 134u8, 6u8, 98u8, 121u8, + 179u8, 254u8, 191u8, 204u8, 212u8, 84u8, 255u8, 86u8, 110u8, 225u8, + 130u8, 26u8, 65u8, 133u8, 56u8, 231u8, 15u8, 245u8, 137u8, 146u8, + 242u8, ], ) } @@ -9862,10 +9626,10 @@ pub mod api { "cancel_proposal", CancelProposal { prop_index }, [ - 179u8, 3u8, 198u8, 244u8, 241u8, 124u8, 205u8, 58u8, 100u8, - 80u8, 177u8, 254u8, 98u8, 220u8, 189u8, 63u8, 229u8, 60u8, - 157u8, 83u8, 142u8, 6u8, 236u8, 183u8, 193u8, 235u8, 253u8, - 126u8, 153u8, 185u8, 74u8, 117u8, + 179u8, 3u8, 198u8, 244u8, 241u8, 124u8, 205u8, 58u8, 100u8, 80u8, + 177u8, 254u8, 98u8, 220u8, 189u8, 63u8, 229u8, 60u8, 157u8, 83u8, + 142u8, 6u8, 236u8, 183u8, 193u8, 235u8, 253u8, 126u8, 153u8, 185u8, + 74u8, 117u8, ], ) } @@ -9938,8 +9702,7 @@ pub mod api { #[doc = "A referendum has begun."] pub struct Started { pub ref_index: ::core::primitive::u32, - pub threshold: - runtime_types::pallet_democracy::vote_threshold::VoteThreshold, + pub threshold: runtime_types::pallet_democracy::vote_threshold::VoteThreshold, } impl ::subxt::events::StaticEvent for Started { const PALLET: &'static str = "Democracy"; @@ -10083,9 +9846,8 @@ pub mod api { pub struct Voted { pub voter: ::subxt::utils::AccountId32, pub ref_index: ::core::primitive::u32, - pub vote: runtime_types::pallet_democracy::vote::AccountVote< - ::core::primitive::u128, - >, + pub vote: + runtime_types::pallet_democracy::vote::AccountVote<::core::primitive::u128>, } impl ::subxt::events::StaticEvent for Voted { const PALLET: &'static str = "Democracy"; @@ -10147,10 +9909,10 @@ pub mod api { "PublicPropCount", vec![], [ - 91u8, 14u8, 171u8, 94u8, 37u8, 157u8, 46u8, 157u8, 254u8, - 13u8, 68u8, 144u8, 23u8, 146u8, 128u8, 159u8, 9u8, 174u8, - 74u8, 174u8, 218u8, 197u8, 23u8, 235u8, 152u8, 226u8, 216u8, - 4u8, 120u8, 121u8, 27u8, 138u8, + 91u8, 14u8, 171u8, 94u8, 37u8, 157u8, 46u8, 157u8, 254u8, 13u8, 68u8, + 144u8, 23u8, 146u8, 128u8, 159u8, 9u8, 174u8, 74u8, 174u8, 218u8, + 197u8, 23u8, 235u8, 152u8, 226u8, 216u8, 4u8, 120u8, 121u8, 27u8, + 138u8, ], ) } @@ -10175,10 +9937,10 @@ pub mod api { "PublicProps", vec![], [ - 63u8, 172u8, 211u8, 85u8, 27u8, 14u8, 86u8, 49u8, 133u8, 5u8, - 132u8, 189u8, 138u8, 137u8, 219u8, 37u8, 209u8, 49u8, 172u8, - 86u8, 240u8, 235u8, 42u8, 201u8, 203u8, 12u8, 122u8, 225u8, - 0u8, 109u8, 205u8, 103u8, + 63u8, 172u8, 211u8, 85u8, 27u8, 14u8, 86u8, 49u8, 133u8, 5u8, 132u8, + 189u8, 138u8, 137u8, 219u8, 37u8, 209u8, 49u8, 172u8, 86u8, 240u8, + 235u8, 42u8, 201u8, 203u8, 12u8, 122u8, 225u8, 0u8, 109u8, 205u8, + 103u8, ], ) } @@ -10203,14 +9965,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Democracy", "DepositOf", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 9u8, 219u8, 11u8, 58u8, 17u8, 194u8, 248u8, 154u8, 135u8, - 119u8, 123u8, 235u8, 252u8, 176u8, 190u8, 162u8, 236u8, 45u8, - 237u8, 125u8, 98u8, 176u8, 184u8, 160u8, 8u8, 181u8, 213u8, - 65u8, 14u8, 84u8, 200u8, 64u8, + 9u8, 219u8, 11u8, 58u8, 17u8, 194u8, 248u8, 154u8, 135u8, 119u8, 123u8, + 235u8, 252u8, 176u8, 190u8, 162u8, 236u8, 45u8, 237u8, 125u8, 98u8, + 176u8, 184u8, 160u8, 8u8, 181u8, 213u8, 65u8, 14u8, 84u8, 200u8, 64u8, ], ) } @@ -10236,10 +9997,9 @@ pub mod api { "DepositOf", Vec::new(), [ - 9u8, 219u8, 11u8, 58u8, 17u8, 194u8, 248u8, 154u8, 135u8, - 119u8, 123u8, 235u8, 252u8, 176u8, 190u8, 162u8, 236u8, 45u8, - 237u8, 125u8, 98u8, 176u8, 184u8, 160u8, 8u8, 181u8, 213u8, - 65u8, 14u8, 84u8, 200u8, 64u8, + 9u8, 219u8, 11u8, 58u8, 17u8, 194u8, 248u8, 154u8, 135u8, 119u8, 123u8, + 235u8, 252u8, 176u8, 190u8, 162u8, 236u8, 45u8, 237u8, 125u8, 98u8, + 176u8, 184u8, 160u8, 8u8, 181u8, 213u8, 65u8, 14u8, 84u8, 200u8, 64u8, ], ) } @@ -10258,10 +10018,10 @@ pub mod api { "ReferendumCount", vec![], [ - 153u8, 210u8, 106u8, 244u8, 156u8, 70u8, 124u8, 251u8, 123u8, - 75u8, 7u8, 189u8, 199u8, 145u8, 95u8, 119u8, 137u8, 11u8, - 240u8, 160u8, 151u8, 248u8, 229u8, 231u8, 89u8, 222u8, 18u8, - 237u8, 144u8, 78u8, 99u8, 58u8, + 153u8, 210u8, 106u8, 244u8, 156u8, 70u8, 124u8, 251u8, 123u8, 75u8, + 7u8, 189u8, 199u8, 145u8, 95u8, 119u8, 137u8, 11u8, 240u8, 160u8, + 151u8, 248u8, 229u8, 231u8, 89u8, 222u8, 18u8, 237u8, 144u8, 78u8, + 99u8, 58u8, ], ) } @@ -10281,10 +10041,9 @@ pub mod api { "LowestUnbaked", vec![], [ - 4u8, 51u8, 108u8, 11u8, 48u8, 165u8, 19u8, 251u8, 182u8, - 76u8, 163u8, 73u8, 227u8, 2u8, 212u8, 74u8, 128u8, 27u8, - 165u8, 164u8, 111u8, 22u8, 209u8, 190u8, 103u8, 7u8, 116u8, - 16u8, 160u8, 144u8, 123u8, 64u8, + 4u8, 51u8, 108u8, 11u8, 48u8, 165u8, 19u8, 251u8, 182u8, 76u8, 163u8, + 73u8, 227u8, 2u8, 212u8, 74u8, 128u8, 27u8, 165u8, 164u8, 111u8, 22u8, + 209u8, 190u8, 103u8, 7u8, 116u8, 16u8, 160u8, 144u8, 123u8, 64u8, ], ) } @@ -10310,14 +10069,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Democracy", "ReferendumInfoOf", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 167u8, 58u8, 230u8, 197u8, 185u8, 56u8, 181u8, 32u8, 81u8, - 150u8, 29u8, 138u8, 142u8, 38u8, 255u8, 216u8, 139u8, 93u8, - 56u8, 148u8, 196u8, 169u8, 168u8, 144u8, 193u8, 200u8, 187u8, - 5u8, 141u8, 201u8, 254u8, 248u8, + 167u8, 58u8, 230u8, 197u8, 185u8, 56u8, 181u8, 32u8, 81u8, 150u8, 29u8, + 138u8, 142u8, 38u8, 255u8, 216u8, 139u8, 93u8, 56u8, 148u8, 196u8, + 169u8, 168u8, 144u8, 193u8, 200u8, 187u8, 5u8, 141u8, 201u8, 254u8, + 248u8, ], ) } @@ -10344,10 +10103,10 @@ pub mod api { "ReferendumInfoOf", Vec::new(), [ - 167u8, 58u8, 230u8, 197u8, 185u8, 56u8, 181u8, 32u8, 81u8, - 150u8, 29u8, 138u8, 142u8, 38u8, 255u8, 216u8, 139u8, 93u8, - 56u8, 148u8, 196u8, 169u8, 168u8, 144u8, 193u8, 200u8, 187u8, - 5u8, 141u8, 201u8, 254u8, 248u8, + 167u8, 58u8, 230u8, 197u8, 185u8, 56u8, 181u8, 32u8, 81u8, 150u8, 29u8, + 138u8, 142u8, 38u8, 255u8, 216u8, 139u8, 93u8, 56u8, 148u8, 196u8, + 169u8, 168u8, 144u8, 193u8, 200u8, 187u8, 5u8, 141u8, 201u8, 254u8, + 248u8, ], ) } @@ -10372,14 +10131,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Democracy", "VotingOf", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 125u8, 121u8, 167u8, 170u8, 18u8, 194u8, 183u8, 38u8, 176u8, - 48u8, 30u8, 88u8, 233u8, 196u8, 33u8, 119u8, 160u8, 201u8, - 29u8, 183u8, 88u8, 67u8, 219u8, 137u8, 6u8, 195u8, 11u8, - 63u8, 162u8, 181u8, 82u8, 243u8, + 125u8, 121u8, 167u8, 170u8, 18u8, 194u8, 183u8, 38u8, 176u8, 48u8, + 30u8, 88u8, 233u8, 196u8, 33u8, 119u8, 160u8, 201u8, 29u8, 183u8, 88u8, + 67u8, 219u8, 137u8, 6u8, 195u8, 11u8, 63u8, 162u8, 181u8, 82u8, 243u8, ], ) } @@ -10405,10 +10163,9 @@ pub mod api { "VotingOf", Vec::new(), [ - 125u8, 121u8, 167u8, 170u8, 18u8, 194u8, 183u8, 38u8, 176u8, - 48u8, 30u8, 88u8, 233u8, 196u8, 33u8, 119u8, 160u8, 201u8, - 29u8, 183u8, 88u8, 67u8, 219u8, 137u8, 6u8, 195u8, 11u8, - 63u8, 162u8, 181u8, 82u8, 243u8, + 125u8, 121u8, 167u8, 170u8, 18u8, 194u8, 183u8, 38u8, 176u8, 48u8, + 30u8, 88u8, 233u8, 196u8, 33u8, 119u8, 160u8, 201u8, 29u8, 183u8, 88u8, + 67u8, 219u8, 137u8, 6u8, 195u8, 11u8, 63u8, 162u8, 181u8, 82u8, 243u8, ], ) } @@ -10428,10 +10185,9 @@ pub mod api { "LastTabledWasExternal", vec![], [ - 3u8, 67u8, 106u8, 1u8, 89u8, 204u8, 4u8, 145u8, 121u8, 44u8, - 34u8, 76u8, 18u8, 206u8, 65u8, 214u8, 222u8, 82u8, 31u8, - 223u8, 144u8, 169u8, 17u8, 6u8, 138u8, 36u8, 113u8, 155u8, - 241u8, 106u8, 189u8, 218u8, + 3u8, 67u8, 106u8, 1u8, 89u8, 204u8, 4u8, 145u8, 121u8, 44u8, 34u8, + 76u8, 18u8, 206u8, 65u8, 214u8, 222u8, 82u8, 31u8, 223u8, 144u8, 169u8, + 17u8, 6u8, 138u8, 36u8, 113u8, 155u8, 241u8, 106u8, 189u8, 218u8, ], ) } @@ -10458,10 +10214,10 @@ pub mod api { "NextExternal", vec![], [ - 213u8, 36u8, 235u8, 75u8, 153u8, 33u8, 140u8, 121u8, 191u8, - 197u8, 17u8, 57u8, 234u8, 67u8, 81u8, 55u8, 123u8, 179u8, - 207u8, 124u8, 238u8, 147u8, 243u8, 126u8, 200u8, 2u8, 16u8, - 143u8, 165u8, 143u8, 159u8, 93u8, + 213u8, 36u8, 235u8, 75u8, 153u8, 33u8, 140u8, 121u8, 191u8, 197u8, + 17u8, 57u8, 234u8, 67u8, 81u8, 55u8, 123u8, 179u8, 207u8, 124u8, 238u8, + 147u8, 243u8, 126u8, 200u8, 2u8, 16u8, 143u8, 165u8, 143u8, 159u8, + 93u8, ], ) } @@ -10485,14 +10241,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Democracy", "Blacklist", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 8u8, 227u8, 185u8, 179u8, 192u8, 92u8, 171u8, 125u8, 237u8, - 224u8, 109u8, 207u8, 44u8, 181u8, 78u8, 17u8, 254u8, 183u8, - 199u8, 241u8, 49u8, 90u8, 101u8, 168u8, 46u8, 89u8, 253u8, - 155u8, 38u8, 183u8, 112u8, 35u8, + 8u8, 227u8, 185u8, 179u8, 192u8, 92u8, 171u8, 125u8, 237u8, 224u8, + 109u8, 207u8, 44u8, 181u8, 78u8, 17u8, 254u8, 183u8, 199u8, 241u8, + 49u8, 90u8, 101u8, 168u8, 46u8, 89u8, 253u8, 155u8, 38u8, 183u8, 112u8, + 35u8, ], ) } @@ -10517,10 +10273,10 @@ pub mod api { "Blacklist", Vec::new(), [ - 8u8, 227u8, 185u8, 179u8, 192u8, 92u8, 171u8, 125u8, 237u8, - 224u8, 109u8, 207u8, 44u8, 181u8, 78u8, 17u8, 254u8, 183u8, - 199u8, 241u8, 49u8, 90u8, 101u8, 168u8, 46u8, 89u8, 253u8, - 155u8, 38u8, 183u8, 112u8, 35u8, + 8u8, 227u8, 185u8, 179u8, 192u8, 92u8, 171u8, 125u8, 237u8, 224u8, + 109u8, 207u8, 44u8, 181u8, 78u8, 17u8, 254u8, 183u8, 199u8, 241u8, + 49u8, 90u8, 101u8, 168u8, 46u8, 89u8, 253u8, 155u8, 38u8, 183u8, 112u8, + 35u8, ], ) } @@ -10538,14 +10294,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Democracy", "Cancellations", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 154u8, 36u8, 172u8, 46u8, 65u8, 218u8, 30u8, 151u8, 173u8, - 186u8, 166u8, 79u8, 35u8, 226u8, 94u8, 200u8, 67u8, 44u8, - 47u8, 7u8, 17u8, 89u8, 169u8, 166u8, 236u8, 101u8, 68u8, - 54u8, 114u8, 141u8, 177u8, 135u8, + 154u8, 36u8, 172u8, 46u8, 65u8, 218u8, 30u8, 151u8, 173u8, 186u8, + 166u8, 79u8, 35u8, 226u8, 94u8, 200u8, 67u8, 44u8, 47u8, 7u8, 17u8, + 89u8, 169u8, 166u8, 236u8, 101u8, 68u8, 54u8, 114u8, 141u8, 177u8, + 135u8, ], ) } @@ -10564,10 +10320,10 @@ pub mod api { "Cancellations", Vec::new(), [ - 154u8, 36u8, 172u8, 46u8, 65u8, 218u8, 30u8, 151u8, 173u8, - 186u8, 166u8, 79u8, 35u8, 226u8, 94u8, 200u8, 67u8, 44u8, - 47u8, 7u8, 17u8, 89u8, 169u8, 166u8, 236u8, 101u8, 68u8, - 54u8, 114u8, 141u8, 177u8, 135u8, + 154u8, 36u8, 172u8, 46u8, 65u8, 218u8, 30u8, 151u8, 173u8, 186u8, + 166u8, 79u8, 35u8, 226u8, 94u8, 200u8, 67u8, 44u8, 47u8, 7u8, 17u8, + 89u8, 169u8, 166u8, 236u8, 101u8, 68u8, 54u8, 114u8, 141u8, 177u8, + 135u8, ], ) } @@ -10589,40 +10345,36 @@ pub mod api { "Democracy", "EnactmentPeriod", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " How often (in blocks) new public referenda are launched."] - pub fn launch_period( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn launch_period(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Democracy", "LaunchPeriod", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " How often (in blocks) to check for new votes."] - pub fn voting_period( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn voting_period(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Democracy", "VotingPeriod", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -10637,26 +10389,24 @@ pub mod api { "Democracy", "VoteLockingPeriod", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " The minimum amount to be used as a deposit for a public referendum proposal."] pub fn minimum_deposit( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Democracy", "MinimumDeposit", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -10665,16 +10415,14 @@ pub mod api { #[doc = " as an upgrade having happened recently."] pub fn instant_allowed( &self, - ) -> ::subxt::constants::Address<::core::primitive::bool> - { + ) -> ::subxt::constants::Address<::core::primitive::bool> { ::subxt::constants::Address::new_static( "Democracy", "InstantAllowed", [ - 165u8, 28u8, 112u8, 190u8, 18u8, 129u8, 182u8, 206u8, 237u8, - 1u8, 68u8, 252u8, 125u8, 234u8, 185u8, 50u8, 149u8, 164u8, - 47u8, 126u8, 134u8, 100u8, 14u8, 86u8, 209u8, 39u8, 20u8, - 4u8, 233u8, 115u8, 102u8, 131u8, + 165u8, 28u8, 112u8, 190u8, 18u8, 129u8, 182u8, 206u8, 237u8, 1u8, 68u8, + 252u8, 125u8, 234u8, 185u8, 50u8, 149u8, 164u8, 47u8, 126u8, 134u8, + 100u8, 14u8, 86u8, 209u8, 39u8, 20u8, 4u8, 233u8, 115u8, 102u8, 131u8, ], ) } @@ -10686,10 +10434,10 @@ pub mod api { "Democracy", "FastTrackVotingPeriod", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -10701,10 +10449,10 @@ pub mod api { "Democracy", "CooloffPeriod", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -10712,47 +10460,41 @@ pub mod api { #[doc = ""] #[doc = " Also used to compute weight, an overly big value can"] #[doc = " lead to extrinsic with very big weight: see `delegate` for instance."] - pub fn max_votes( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn max_votes(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Democracy", "MaxVotes", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " The maximum number of public proposals that can exist at any time."] - pub fn max_proposals( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn max_proposals(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Democracy", "MaxProposals", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " The maximum number of deposits a public proposal may have at any time."] - pub fn max_deposits( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn max_deposits(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Democracy", "MaxDeposits", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -10764,10 +10506,10 @@ pub mod api { "Democracy", "MaxBlacklisted", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -10806,8 +10548,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Execute { - pub proposal: - ::std::boxed::Box, + pub proposal: ::std::boxed::Box, #[codec(compact)] pub length_bound: ::core::primitive::u32, } @@ -10823,8 +10564,7 @@ pub mod api { pub struct Propose { #[codec(compact)] pub threshold: ::core::primitive::u32, - pub proposal: - ::std::boxed::Box, + pub proposal: ::std::boxed::Box, #[codec(compact)] pub length_bound: ::core::primitive::u32, } @@ -10939,10 +10679,10 @@ pub mod api { old_count, }, [ - 196u8, 103u8, 123u8, 125u8, 226u8, 177u8, 126u8, 37u8, 160u8, - 114u8, 34u8, 136u8, 219u8, 84u8, 199u8, 94u8, 242u8, 20u8, - 126u8, 126u8, 166u8, 190u8, 198u8, 33u8, 162u8, 113u8, 237u8, - 222u8, 90u8, 1u8, 2u8, 234u8, + 196u8, 103u8, 123u8, 125u8, 226u8, 177u8, 126u8, 37u8, 160u8, 114u8, + 34u8, 136u8, 219u8, 84u8, 199u8, 94u8, 242u8, 20u8, 126u8, 126u8, + 166u8, 190u8, 198u8, 33u8, 162u8, 113u8, 237u8, 222u8, 90u8, 1u8, 2u8, + 234u8, ], ) } @@ -10970,10 +10710,10 @@ pub mod api { length_bound, }, [ - 207u8, 108u8, 143u8, 240u8, 75u8, 66u8, 184u8, 27u8, 120u8, - 174u8, 60u8, 30u8, 179u8, 210u8, 21u8, 55u8, 253u8, 128u8, - 255u8, 184u8, 36u8, 121u8, 162u8, 148u8, 200u8, 98u8, 165u8, - 193u8, 132u8, 20u8, 244u8, 40u8, + 207u8, 108u8, 143u8, 240u8, 75u8, 66u8, 184u8, 27u8, 120u8, 174u8, + 60u8, 30u8, 179u8, 210u8, 21u8, 55u8, 253u8, 128u8, 255u8, 184u8, 36u8, + 121u8, 162u8, 148u8, 200u8, 98u8, 165u8, 193u8, 132u8, 20u8, 244u8, + 40u8, ], ) } @@ -11019,10 +10759,10 @@ pub mod api { length_bound, }, [ - 185u8, 29u8, 21u8, 240u8, 194u8, 157u8, 44u8, 223u8, 201u8, - 106u8, 168u8, 104u8, 111u8, 7u8, 168u8, 17u8, 73u8, 188u8, - 70u8, 235u8, 43u8, 82u8, 236u8, 70u8, 236u8, 94u8, 68u8, - 201u8, 201u8, 114u8, 236u8, 197u8, + 185u8, 29u8, 21u8, 240u8, 194u8, 157u8, 44u8, 223u8, 201u8, 106u8, + 168u8, 104u8, 111u8, 7u8, 168u8, 17u8, 73u8, 188u8, 70u8, 235u8, 43u8, + 82u8, 236u8, 70u8, 236u8, 94u8, 68u8, 201u8, 201u8, 114u8, 236u8, + 197u8, ], ) } @@ -11056,10 +10796,9 @@ pub mod api { approve, }, [ - 108u8, 46u8, 180u8, 148u8, 145u8, 24u8, 173u8, 56u8, 36u8, - 100u8, 216u8, 43u8, 178u8, 202u8, 26u8, 136u8, 93u8, 84u8, - 80u8, 134u8, 14u8, 42u8, 248u8, 205u8, 68u8, 92u8, 79u8, - 11u8, 113u8, 115u8, 157u8, 100u8, + 108u8, 46u8, 180u8, 148u8, 145u8, 24u8, 173u8, 56u8, 36u8, 100u8, + 216u8, 43u8, 178u8, 202u8, 26u8, 136u8, 93u8, 84u8, 80u8, 134u8, 14u8, + 42u8, 248u8, 205u8, 68u8, 92u8, 79u8, 11u8, 113u8, 115u8, 157u8, 100u8, ], ) } @@ -11112,10 +10851,9 @@ pub mod api { length_bound, }, [ - 133u8, 219u8, 90u8, 40u8, 102u8, 95u8, 4u8, 199u8, 45u8, - 234u8, 109u8, 17u8, 162u8, 63u8, 102u8, 186u8, 95u8, 182u8, - 13u8, 123u8, 227u8, 20u8, 186u8, 207u8, 12u8, 47u8, 87u8, - 252u8, 244u8, 172u8, 60u8, 206u8, + 133u8, 219u8, 90u8, 40u8, 102u8, 95u8, 4u8, 199u8, 45u8, 234u8, 109u8, + 17u8, 162u8, 63u8, 102u8, 186u8, 95u8, 182u8, 13u8, 123u8, 227u8, 20u8, + 186u8, 207u8, 12u8, 47u8, 87u8, 252u8, 244u8, 172u8, 60u8, 206u8, ], ) } @@ -11142,10 +10880,9 @@ pub mod api { "disapprove_proposal", DisapproveProposal { proposal_hash }, [ - 25u8, 123u8, 1u8, 8u8, 74u8, 37u8, 3u8, 40u8, 97u8, 37u8, - 175u8, 224u8, 72u8, 155u8, 123u8, 109u8, 104u8, 43u8, 91u8, - 125u8, 199u8, 51u8, 17u8, 225u8, 133u8, 38u8, 120u8, 76u8, - 164u8, 5u8, 194u8, 201u8, + 25u8, 123u8, 1u8, 8u8, 74u8, 37u8, 3u8, 40u8, 97u8, 37u8, 175u8, 224u8, + 72u8, 155u8, 123u8, 109u8, 104u8, 43u8, 91u8, 125u8, 199u8, 51u8, 17u8, + 225u8, 133u8, 38u8, 120u8, 76u8, 164u8, 5u8, 194u8, 201u8, ], ) } @@ -11198,10 +10935,9 @@ pub mod api { length_bound, }, [ - 191u8, 138u8, 89u8, 247u8, 97u8, 51u8, 45u8, 193u8, 76u8, - 16u8, 80u8, 225u8, 197u8, 83u8, 204u8, 133u8, 169u8, 16u8, - 86u8, 32u8, 125u8, 16u8, 116u8, 185u8, 45u8, 20u8, 76u8, - 148u8, 206u8, 163u8, 154u8, 30u8, + 191u8, 138u8, 89u8, 247u8, 97u8, 51u8, 45u8, 193u8, 76u8, 16u8, 80u8, + 225u8, 197u8, 83u8, 204u8, 133u8, 169u8, 16u8, 86u8, 32u8, 125u8, 16u8, + 116u8, 185u8, 45u8, 20u8, 76u8, 148u8, 206u8, 163u8, 154u8, 30u8, ], ) } @@ -11300,8 +11036,7 @@ pub mod api { #[doc = "A motion was executed; result will be `Ok` if it returned without error."] pub struct Executed { pub proposal_hash: ::subxt::utils::H256, - pub result: - ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, + pub result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, } impl ::subxt::events::StaticEvent for Executed { const PALLET: &'static str = "Council"; @@ -11319,8 +11054,7 @@ pub mod api { #[doc = "A single member did some action; result will be `Ok` if it returned without error."] pub struct MemberExecuted { pub proposal_hash: ::subxt::utils::H256, - pub result: - ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, + pub result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, } impl ::subxt::events::StaticEvent for MemberExecuted { const PALLET: &'static str = "Council"; @@ -11355,9 +11089,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::sp_core::bounded::bounded_vec::BoundedVec< - ::subxt::utils::H256, - >, + runtime_types::sp_core::bounded::bounded_vec::BoundedVec<::subxt::utils::H256>, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, (), @@ -11367,10 +11099,10 @@ pub mod api { "Proposals", vec![], [ - 10u8, 133u8, 82u8, 54u8, 193u8, 41u8, 253u8, 159u8, 56u8, - 96u8, 249u8, 148u8, 43u8, 57u8, 116u8, 43u8, 222u8, 243u8, - 237u8, 231u8, 238u8, 60u8, 26u8, 225u8, 19u8, 203u8, 213u8, - 220u8, 114u8, 217u8, 100u8, 27u8, + 10u8, 133u8, 82u8, 54u8, 193u8, 41u8, 253u8, 159u8, 56u8, 96u8, 249u8, + 148u8, 43u8, 57u8, 116u8, 43u8, 222u8, 243u8, 237u8, 231u8, 238u8, + 60u8, 26u8, 225u8, 19u8, 203u8, 213u8, 220u8, 114u8, 217u8, 100u8, + 27u8, ], ) } @@ -11388,14 +11120,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Council", "ProposalOf", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 99u8, 114u8, 104u8, 38u8, 106u8, 3u8, 76u8, 17u8, 152u8, - 13u8, 170u8, 109u8, 232u8, 209u8, 208u8, 60u8, 216u8, 48u8, - 170u8, 235u8, 241u8, 25u8, 78u8, 92u8, 141u8, 251u8, 247u8, - 253u8, 110u8, 183u8, 61u8, 225u8, + 99u8, 114u8, 104u8, 38u8, 106u8, 3u8, 76u8, 17u8, 152u8, 13u8, 170u8, + 109u8, 232u8, 209u8, 208u8, 60u8, 216u8, 48u8, 170u8, 235u8, 241u8, + 25u8, 78u8, 92u8, 141u8, 251u8, 247u8, 253u8, 110u8, 183u8, 61u8, + 225u8, ], ) } @@ -11414,10 +11146,10 @@ pub mod api { "ProposalOf", Vec::new(), [ - 99u8, 114u8, 104u8, 38u8, 106u8, 3u8, 76u8, 17u8, 152u8, - 13u8, 170u8, 109u8, 232u8, 209u8, 208u8, 60u8, 216u8, 48u8, - 170u8, 235u8, 241u8, 25u8, 78u8, 92u8, 141u8, 251u8, 247u8, - 253u8, 110u8, 183u8, 61u8, 225u8, + 99u8, 114u8, 104u8, 38u8, 106u8, 3u8, 76u8, 17u8, 152u8, 13u8, 170u8, + 109u8, 232u8, 209u8, 208u8, 60u8, 216u8, 48u8, 170u8, 235u8, 241u8, + 25u8, 78u8, 92u8, 141u8, 251u8, 247u8, 253u8, 110u8, 183u8, 61u8, + 225u8, ], ) } @@ -11438,14 +11170,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Council", "Voting", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 89u8, 108u8, 65u8, 58u8, 60u8, 116u8, 54u8, 68u8, 179u8, - 73u8, 161u8, 168u8, 78u8, 213u8, 208u8, 54u8, 244u8, 58u8, - 70u8, 209u8, 170u8, 136u8, 215u8, 3u8, 2u8, 105u8, 229u8, - 217u8, 240u8, 230u8, 107u8, 221u8, + 89u8, 108u8, 65u8, 58u8, 60u8, 116u8, 54u8, 68u8, 179u8, 73u8, 161u8, + 168u8, 78u8, 213u8, 208u8, 54u8, 244u8, 58u8, 70u8, 209u8, 170u8, + 136u8, 215u8, 3u8, 2u8, 105u8, 229u8, 217u8, 240u8, 230u8, 107u8, + 221u8, ], ) } @@ -11467,10 +11199,10 @@ pub mod api { "Voting", Vec::new(), [ - 89u8, 108u8, 65u8, 58u8, 60u8, 116u8, 54u8, 68u8, 179u8, - 73u8, 161u8, 168u8, 78u8, 213u8, 208u8, 54u8, 244u8, 58u8, - 70u8, 209u8, 170u8, 136u8, 215u8, 3u8, 2u8, 105u8, 229u8, - 217u8, 240u8, 230u8, 107u8, 221u8, + 89u8, 108u8, 65u8, 58u8, 60u8, 116u8, 54u8, 68u8, 179u8, 73u8, 161u8, + 168u8, 78u8, 213u8, 208u8, 54u8, 244u8, 58u8, 70u8, 209u8, 170u8, + 136u8, 215u8, 3u8, 2u8, 105u8, 229u8, 217u8, 240u8, 230u8, 107u8, + 221u8, ], ) } @@ -11489,10 +11221,10 @@ pub mod api { "ProposalCount", vec![], [ - 132u8, 145u8, 78u8, 218u8, 51u8, 189u8, 55u8, 172u8, 143u8, - 33u8, 140u8, 99u8, 124u8, 208u8, 57u8, 232u8, 154u8, 110u8, - 32u8, 142u8, 24u8, 149u8, 109u8, 105u8, 30u8, 83u8, 39u8, - 177u8, 127u8, 160u8, 34u8, 70u8, + 132u8, 145u8, 78u8, 218u8, 51u8, 189u8, 55u8, 172u8, 143u8, 33u8, + 140u8, 99u8, 124u8, 208u8, 57u8, 232u8, 154u8, 110u8, 32u8, 142u8, + 24u8, 149u8, 109u8, 105u8, 30u8, 83u8, 39u8, 177u8, 127u8, 160u8, 34u8, + 70u8, ], ) } @@ -11511,10 +11243,10 @@ pub mod api { "Members", vec![], [ - 162u8, 72u8, 174u8, 204u8, 140u8, 105u8, 205u8, 176u8, 197u8, - 117u8, 206u8, 134u8, 157u8, 110u8, 139u8, 54u8, 43u8, 233u8, - 25u8, 51u8, 36u8, 238u8, 94u8, 124u8, 221u8, 52u8, 237u8, - 71u8, 125u8, 56u8, 129u8, 222u8, + 162u8, 72u8, 174u8, 204u8, 140u8, 105u8, 205u8, 176u8, 197u8, 117u8, + 206u8, 134u8, 157u8, 110u8, 139u8, 54u8, 43u8, 233u8, 25u8, 51u8, 36u8, + 238u8, 94u8, 124u8, 221u8, 52u8, 237u8, 71u8, 125u8, 56u8, 129u8, + 222u8, ], ) } @@ -11533,10 +11265,10 @@ pub mod api { "Prime", vec![], [ - 108u8, 118u8, 54u8, 193u8, 207u8, 227u8, 119u8, 97u8, 23u8, - 239u8, 157u8, 69u8, 56u8, 142u8, 106u8, 17u8, 215u8, 159u8, - 48u8, 42u8, 185u8, 209u8, 49u8, 159u8, 32u8, 168u8, 111u8, - 158u8, 159u8, 217u8, 244u8, 158u8, + 108u8, 118u8, 54u8, 193u8, 207u8, 227u8, 119u8, 97u8, 23u8, 239u8, + 157u8, 69u8, 56u8, 142u8, 106u8, 17u8, 215u8, 159u8, 48u8, 42u8, 185u8, + 209u8, 49u8, 159u8, 32u8, 168u8, 111u8, 158u8, 159u8, 217u8, 244u8, + 158u8, ], ) } @@ -11575,8 +11307,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Execute { - pub proposal: - ::std::boxed::Box, + pub proposal: ::std::boxed::Box, #[codec(compact)] pub length_bound: ::core::primitive::u32, } @@ -11592,8 +11323,7 @@ pub mod api { pub struct Propose { #[codec(compact)] pub threshold: ::core::primitive::u32, - pub proposal: - ::std::boxed::Box, + pub proposal: ::std::boxed::Box, #[codec(compact)] pub length_bound: ::core::primitive::u32, } @@ -11708,10 +11438,10 @@ pub mod api { old_count, }, [ - 196u8, 103u8, 123u8, 125u8, 226u8, 177u8, 126u8, 37u8, 160u8, - 114u8, 34u8, 136u8, 219u8, 84u8, 199u8, 94u8, 242u8, 20u8, - 126u8, 126u8, 166u8, 190u8, 198u8, 33u8, 162u8, 113u8, 237u8, - 222u8, 90u8, 1u8, 2u8, 234u8, + 196u8, 103u8, 123u8, 125u8, 226u8, 177u8, 126u8, 37u8, 160u8, 114u8, + 34u8, 136u8, 219u8, 84u8, 199u8, 94u8, 242u8, 20u8, 126u8, 126u8, + 166u8, 190u8, 198u8, 33u8, 162u8, 113u8, 237u8, 222u8, 90u8, 1u8, 2u8, + 234u8, ], ) } @@ -11739,10 +11469,10 @@ pub mod api { length_bound, }, [ - 207u8, 108u8, 143u8, 240u8, 75u8, 66u8, 184u8, 27u8, 120u8, - 174u8, 60u8, 30u8, 179u8, 210u8, 21u8, 55u8, 253u8, 128u8, - 255u8, 184u8, 36u8, 121u8, 162u8, 148u8, 200u8, 98u8, 165u8, - 193u8, 132u8, 20u8, 244u8, 40u8, + 207u8, 108u8, 143u8, 240u8, 75u8, 66u8, 184u8, 27u8, 120u8, 174u8, + 60u8, 30u8, 179u8, 210u8, 21u8, 55u8, 253u8, 128u8, 255u8, 184u8, 36u8, + 121u8, 162u8, 148u8, 200u8, 98u8, 165u8, 193u8, 132u8, 20u8, 244u8, + 40u8, ], ) } @@ -11788,10 +11518,10 @@ pub mod api { length_bound, }, [ - 185u8, 29u8, 21u8, 240u8, 194u8, 157u8, 44u8, 223u8, 201u8, - 106u8, 168u8, 104u8, 111u8, 7u8, 168u8, 17u8, 73u8, 188u8, - 70u8, 235u8, 43u8, 82u8, 236u8, 70u8, 236u8, 94u8, 68u8, - 201u8, 201u8, 114u8, 236u8, 197u8, + 185u8, 29u8, 21u8, 240u8, 194u8, 157u8, 44u8, 223u8, 201u8, 106u8, + 168u8, 104u8, 111u8, 7u8, 168u8, 17u8, 73u8, 188u8, 70u8, 235u8, 43u8, + 82u8, 236u8, 70u8, 236u8, 94u8, 68u8, 201u8, 201u8, 114u8, 236u8, + 197u8, ], ) } @@ -11825,10 +11555,9 @@ pub mod api { approve, }, [ - 108u8, 46u8, 180u8, 148u8, 145u8, 24u8, 173u8, 56u8, 36u8, - 100u8, 216u8, 43u8, 178u8, 202u8, 26u8, 136u8, 93u8, 84u8, - 80u8, 134u8, 14u8, 42u8, 248u8, 205u8, 68u8, 92u8, 79u8, - 11u8, 113u8, 115u8, 157u8, 100u8, + 108u8, 46u8, 180u8, 148u8, 145u8, 24u8, 173u8, 56u8, 36u8, 100u8, + 216u8, 43u8, 178u8, 202u8, 26u8, 136u8, 93u8, 84u8, 80u8, 134u8, 14u8, + 42u8, 248u8, 205u8, 68u8, 92u8, 79u8, 11u8, 113u8, 115u8, 157u8, 100u8, ], ) } @@ -11881,10 +11610,9 @@ pub mod api { length_bound, }, [ - 133u8, 219u8, 90u8, 40u8, 102u8, 95u8, 4u8, 199u8, 45u8, - 234u8, 109u8, 17u8, 162u8, 63u8, 102u8, 186u8, 95u8, 182u8, - 13u8, 123u8, 227u8, 20u8, 186u8, 207u8, 12u8, 47u8, 87u8, - 252u8, 244u8, 172u8, 60u8, 206u8, + 133u8, 219u8, 90u8, 40u8, 102u8, 95u8, 4u8, 199u8, 45u8, 234u8, 109u8, + 17u8, 162u8, 63u8, 102u8, 186u8, 95u8, 182u8, 13u8, 123u8, 227u8, 20u8, + 186u8, 207u8, 12u8, 47u8, 87u8, 252u8, 244u8, 172u8, 60u8, 206u8, ], ) } @@ -11911,10 +11639,9 @@ pub mod api { "disapprove_proposal", DisapproveProposal { proposal_hash }, [ - 25u8, 123u8, 1u8, 8u8, 74u8, 37u8, 3u8, 40u8, 97u8, 37u8, - 175u8, 224u8, 72u8, 155u8, 123u8, 109u8, 104u8, 43u8, 91u8, - 125u8, 199u8, 51u8, 17u8, 225u8, 133u8, 38u8, 120u8, 76u8, - 164u8, 5u8, 194u8, 201u8, + 25u8, 123u8, 1u8, 8u8, 74u8, 37u8, 3u8, 40u8, 97u8, 37u8, 175u8, 224u8, + 72u8, 155u8, 123u8, 109u8, 104u8, 43u8, 91u8, 125u8, 199u8, 51u8, 17u8, + 225u8, 133u8, 38u8, 120u8, 76u8, 164u8, 5u8, 194u8, 201u8, ], ) } @@ -11967,10 +11694,9 @@ pub mod api { length_bound, }, [ - 191u8, 138u8, 89u8, 247u8, 97u8, 51u8, 45u8, 193u8, 76u8, - 16u8, 80u8, 225u8, 197u8, 83u8, 204u8, 133u8, 169u8, 16u8, - 86u8, 32u8, 125u8, 16u8, 116u8, 185u8, 45u8, 20u8, 76u8, - 148u8, 206u8, 163u8, 154u8, 30u8, + 191u8, 138u8, 89u8, 247u8, 97u8, 51u8, 45u8, 193u8, 76u8, 16u8, 80u8, + 225u8, 197u8, 83u8, 204u8, 133u8, 169u8, 16u8, 86u8, 32u8, 125u8, 16u8, + 116u8, 185u8, 45u8, 20u8, 76u8, 148u8, 206u8, 163u8, 154u8, 30u8, ], ) } @@ -12069,8 +11795,7 @@ pub mod api { #[doc = "A motion was executed; result will be `Ok` if it returned without error."] pub struct Executed { pub proposal_hash: ::subxt::utils::H256, - pub result: - ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, + pub result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, } impl ::subxt::events::StaticEvent for Executed { const PALLET: &'static str = "TechnicalCommittee"; @@ -12088,8 +11813,7 @@ pub mod api { #[doc = "A single member did some action; result will be `Ok` if it returned without error."] pub struct MemberExecuted { pub proposal_hash: ::subxt::utils::H256, - pub result: - ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, + pub result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, } impl ::subxt::events::StaticEvent for MemberExecuted { const PALLET: &'static str = "TechnicalCommittee"; @@ -12124,9 +11848,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::sp_core::bounded::bounded_vec::BoundedVec< - ::subxt::utils::H256, - >, + runtime_types::sp_core::bounded::bounded_vec::BoundedVec<::subxt::utils::H256>, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, (), @@ -12136,10 +11858,10 @@ pub mod api { "Proposals", vec![], [ - 10u8, 133u8, 82u8, 54u8, 193u8, 41u8, 253u8, 159u8, 56u8, - 96u8, 249u8, 148u8, 43u8, 57u8, 116u8, 43u8, 222u8, 243u8, - 237u8, 231u8, 238u8, 60u8, 26u8, 225u8, 19u8, 203u8, 213u8, - 220u8, 114u8, 217u8, 100u8, 27u8, + 10u8, 133u8, 82u8, 54u8, 193u8, 41u8, 253u8, 159u8, 56u8, 96u8, 249u8, + 148u8, 43u8, 57u8, 116u8, 43u8, 222u8, 243u8, 237u8, 231u8, 238u8, + 60u8, 26u8, 225u8, 19u8, 203u8, 213u8, 220u8, 114u8, 217u8, 100u8, + 27u8, ], ) } @@ -12157,14 +11879,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "TechnicalCommittee", "ProposalOf", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 99u8, 114u8, 104u8, 38u8, 106u8, 3u8, 76u8, 17u8, 152u8, - 13u8, 170u8, 109u8, 232u8, 209u8, 208u8, 60u8, 216u8, 48u8, - 170u8, 235u8, 241u8, 25u8, 78u8, 92u8, 141u8, 251u8, 247u8, - 253u8, 110u8, 183u8, 61u8, 225u8, + 99u8, 114u8, 104u8, 38u8, 106u8, 3u8, 76u8, 17u8, 152u8, 13u8, 170u8, + 109u8, 232u8, 209u8, 208u8, 60u8, 216u8, 48u8, 170u8, 235u8, 241u8, + 25u8, 78u8, 92u8, 141u8, 251u8, 247u8, 253u8, 110u8, 183u8, 61u8, + 225u8, ], ) } @@ -12183,10 +11905,10 @@ pub mod api { "ProposalOf", Vec::new(), [ - 99u8, 114u8, 104u8, 38u8, 106u8, 3u8, 76u8, 17u8, 152u8, - 13u8, 170u8, 109u8, 232u8, 209u8, 208u8, 60u8, 216u8, 48u8, - 170u8, 235u8, 241u8, 25u8, 78u8, 92u8, 141u8, 251u8, 247u8, - 253u8, 110u8, 183u8, 61u8, 225u8, + 99u8, 114u8, 104u8, 38u8, 106u8, 3u8, 76u8, 17u8, 152u8, 13u8, 170u8, + 109u8, 232u8, 209u8, 208u8, 60u8, 216u8, 48u8, 170u8, 235u8, 241u8, + 25u8, 78u8, 92u8, 141u8, 251u8, 247u8, 253u8, 110u8, 183u8, 61u8, + 225u8, ], ) } @@ -12207,14 +11929,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "TechnicalCommittee", "Voting", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 89u8, 108u8, 65u8, 58u8, 60u8, 116u8, 54u8, 68u8, 179u8, - 73u8, 161u8, 168u8, 78u8, 213u8, 208u8, 54u8, 244u8, 58u8, - 70u8, 209u8, 170u8, 136u8, 215u8, 3u8, 2u8, 105u8, 229u8, - 217u8, 240u8, 230u8, 107u8, 221u8, + 89u8, 108u8, 65u8, 58u8, 60u8, 116u8, 54u8, 68u8, 179u8, 73u8, 161u8, + 168u8, 78u8, 213u8, 208u8, 54u8, 244u8, 58u8, 70u8, 209u8, 170u8, + 136u8, 215u8, 3u8, 2u8, 105u8, 229u8, 217u8, 240u8, 230u8, 107u8, + 221u8, ], ) } @@ -12236,10 +11958,10 @@ pub mod api { "Voting", Vec::new(), [ - 89u8, 108u8, 65u8, 58u8, 60u8, 116u8, 54u8, 68u8, 179u8, - 73u8, 161u8, 168u8, 78u8, 213u8, 208u8, 54u8, 244u8, 58u8, - 70u8, 209u8, 170u8, 136u8, 215u8, 3u8, 2u8, 105u8, 229u8, - 217u8, 240u8, 230u8, 107u8, 221u8, + 89u8, 108u8, 65u8, 58u8, 60u8, 116u8, 54u8, 68u8, 179u8, 73u8, 161u8, + 168u8, 78u8, 213u8, 208u8, 54u8, 244u8, 58u8, 70u8, 209u8, 170u8, + 136u8, 215u8, 3u8, 2u8, 105u8, 229u8, 217u8, 240u8, 230u8, 107u8, + 221u8, ], ) } @@ -12258,10 +11980,10 @@ pub mod api { "ProposalCount", vec![], [ - 132u8, 145u8, 78u8, 218u8, 51u8, 189u8, 55u8, 172u8, 143u8, - 33u8, 140u8, 99u8, 124u8, 208u8, 57u8, 232u8, 154u8, 110u8, - 32u8, 142u8, 24u8, 149u8, 109u8, 105u8, 30u8, 83u8, 39u8, - 177u8, 127u8, 160u8, 34u8, 70u8, + 132u8, 145u8, 78u8, 218u8, 51u8, 189u8, 55u8, 172u8, 143u8, 33u8, + 140u8, 99u8, 124u8, 208u8, 57u8, 232u8, 154u8, 110u8, 32u8, 142u8, + 24u8, 149u8, 109u8, 105u8, 30u8, 83u8, 39u8, 177u8, 127u8, 160u8, 34u8, + 70u8, ], ) } @@ -12280,10 +12002,10 @@ pub mod api { "Members", vec![], [ - 162u8, 72u8, 174u8, 204u8, 140u8, 105u8, 205u8, 176u8, 197u8, - 117u8, 206u8, 134u8, 157u8, 110u8, 139u8, 54u8, 43u8, 233u8, - 25u8, 51u8, 36u8, 238u8, 94u8, 124u8, 221u8, 52u8, 237u8, - 71u8, 125u8, 56u8, 129u8, 222u8, + 162u8, 72u8, 174u8, 204u8, 140u8, 105u8, 205u8, 176u8, 197u8, 117u8, + 206u8, 134u8, 157u8, 110u8, 139u8, 54u8, 43u8, 233u8, 25u8, 51u8, 36u8, + 238u8, 94u8, 124u8, 221u8, 52u8, 237u8, 71u8, 125u8, 56u8, 129u8, + 222u8, ], ) } @@ -12302,10 +12024,10 @@ pub mod api { "Prime", vec![], [ - 108u8, 118u8, 54u8, 193u8, 207u8, 227u8, 119u8, 97u8, 23u8, - 239u8, 157u8, 69u8, 56u8, 142u8, 106u8, 17u8, 215u8, 159u8, - 48u8, 42u8, 185u8, 209u8, 49u8, 159u8, 32u8, 168u8, 111u8, - 158u8, 159u8, 217u8, 244u8, 158u8, + 108u8, 118u8, 54u8, 193u8, 207u8, 227u8, 119u8, 97u8, 23u8, 239u8, + 157u8, 69u8, 56u8, 142u8, 106u8, 17u8, 215u8, 159u8, 48u8, 42u8, 185u8, + 209u8, 49u8, 159u8, 32u8, 168u8, 111u8, 158u8, 159u8, 217u8, 244u8, + 158u8, ], ) } @@ -12431,10 +12153,10 @@ pub mod api { "vote", Vote { votes, value }, [ - 71u8, 90u8, 175u8, 225u8, 51u8, 202u8, 197u8, 252u8, 183u8, - 92u8, 239u8, 83u8, 112u8, 144u8, 128u8, 211u8, 109u8, 33u8, - 252u8, 6u8, 156u8, 15u8, 91u8, 88u8, 70u8, 19u8, 32u8, 29u8, - 224u8, 255u8, 26u8, 145u8, + 71u8, 90u8, 175u8, 225u8, 51u8, 202u8, 197u8, 252u8, 183u8, 92u8, + 239u8, 83u8, 112u8, 144u8, 128u8, 211u8, 109u8, 33u8, 252u8, 6u8, + 156u8, 15u8, 91u8, 88u8, 70u8, 19u8, 32u8, 29u8, 224u8, 255u8, 26u8, + 145u8, ], ) } @@ -12449,10 +12171,9 @@ pub mod api { "remove_voter", RemoveVoter {}, [ - 254u8, 46u8, 140u8, 4u8, 218u8, 45u8, 150u8, 72u8, 67u8, - 131u8, 108u8, 201u8, 46u8, 157u8, 104u8, 161u8, 53u8, 155u8, - 130u8, 50u8, 88u8, 149u8, 255u8, 12u8, 17u8, 85u8, 95u8, - 69u8, 153u8, 130u8, 221u8, 1u8, + 254u8, 46u8, 140u8, 4u8, 218u8, 45u8, 150u8, 72u8, 67u8, 131u8, 108u8, + 201u8, 46u8, 157u8, 104u8, 161u8, 53u8, 155u8, 130u8, 50u8, 88u8, + 149u8, 255u8, 12u8, 17u8, 85u8, 95u8, 69u8, 153u8, 130u8, 221u8, 1u8, ], ) } @@ -12480,10 +12201,9 @@ pub mod api { "submit_candidacy", SubmitCandidacy { candidate_count }, [ - 228u8, 63u8, 217u8, 99u8, 128u8, 104u8, 175u8, 10u8, 30u8, - 35u8, 47u8, 14u8, 254u8, 122u8, 146u8, 239u8, 61u8, 145u8, - 82u8, 7u8, 181u8, 98u8, 238u8, 208u8, 23u8, 84u8, 48u8, - 255u8, 177u8, 255u8, 84u8, 83u8, + 228u8, 63u8, 217u8, 99u8, 128u8, 104u8, 175u8, 10u8, 30u8, 35u8, 47u8, + 14u8, 254u8, 122u8, 146u8, 239u8, 61u8, 145u8, 82u8, 7u8, 181u8, 98u8, + 238u8, 208u8, 23u8, 84u8, 48u8, 255u8, 177u8, 255u8, 84u8, 83u8, ], ) } @@ -12514,10 +12234,9 @@ pub mod api { "renounce_candidacy", RenounceCandidacy { renouncing }, [ - 70u8, 72u8, 208u8, 36u8, 80u8, 245u8, 224u8, 75u8, 60u8, - 142u8, 19u8, 49u8, 142u8, 90u8, 14u8, 69u8, 15u8, 61u8, - 170u8, 235u8, 16u8, 252u8, 86u8, 200u8, 120u8, 127u8, 36u8, - 42u8, 143u8, 130u8, 217u8, 128u8, + 70u8, 72u8, 208u8, 36u8, 80u8, 245u8, 224u8, 75u8, 60u8, 142u8, 19u8, + 49u8, 142u8, 90u8, 14u8, 69u8, 15u8, 61u8, 170u8, 235u8, 16u8, 252u8, + 86u8, 200u8, 120u8, 127u8, 36u8, 42u8, 143u8, 130u8, 217u8, 128u8, ], ) } @@ -12554,10 +12273,9 @@ pub mod api { rerun_election, }, [ - 45u8, 106u8, 9u8, 19u8, 133u8, 38u8, 20u8, 233u8, 12u8, - 169u8, 216u8, 40u8, 23u8, 139u8, 184u8, 202u8, 2u8, 124u8, - 202u8, 48u8, 205u8, 176u8, 161u8, 43u8, 66u8, 24u8, 189u8, - 183u8, 233u8, 62u8, 102u8, 237u8, + 45u8, 106u8, 9u8, 19u8, 133u8, 38u8, 20u8, 233u8, 12u8, 169u8, 216u8, + 40u8, 23u8, 139u8, 184u8, 202u8, 2u8, 124u8, 202u8, 48u8, 205u8, 176u8, + 161u8, 43u8, 66u8, 24u8, 189u8, 183u8, 233u8, 62u8, 102u8, 237u8, ], ) } @@ -12584,10 +12302,10 @@ pub mod api { num_defunct, }, [ - 198u8, 162u8, 30u8, 249u8, 191u8, 38u8, 141u8, 123u8, 230u8, - 90u8, 213u8, 103u8, 168u8, 28u8, 5u8, 215u8, 213u8, 152u8, - 46u8, 189u8, 238u8, 209u8, 209u8, 142u8, 159u8, 222u8, 161u8, - 26u8, 161u8, 250u8, 9u8, 100u8, + 198u8, 162u8, 30u8, 249u8, 191u8, 38u8, 141u8, 123u8, 230u8, 90u8, + 213u8, 103u8, 168u8, 28u8, 5u8, 215u8, 213u8, 152u8, 46u8, 189u8, + 238u8, 209u8, 209u8, 142u8, 159u8, 222u8, 161u8, 26u8, 161u8, 250u8, + 9u8, 100u8, ], ) } @@ -12612,10 +12330,8 @@ pub mod api { #[doc = "slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to"] #[doc = "begin with."] pub struct NewTerm { - pub new_members: ::std::vec::Vec<( - ::subxt::utils::AccountId32, - ::core::primitive::u128, - )>, + pub new_members: + ::std::vec::Vec<(::subxt::utils::AccountId32, ::core::primitive::u128)>, } impl ::subxt::events::StaticEvent for NewTerm { const PALLET: &'static str = "PhragmenElection"; @@ -12753,10 +12469,9 @@ pub mod api { "Members", vec![], [ - 2u8, 182u8, 43u8, 180u8, 87u8, 185u8, 26u8, 79u8, 196u8, - 55u8, 28u8, 26u8, 174u8, 133u8, 158u8, 221u8, 101u8, 161u8, - 83u8, 9u8, 221u8, 175u8, 221u8, 220u8, 81u8, 80u8, 1u8, - 236u8, 74u8, 121u8, 10u8, 82u8, + 2u8, 182u8, 43u8, 180u8, 87u8, 185u8, 26u8, 79u8, 196u8, 55u8, 28u8, + 26u8, 174u8, 133u8, 158u8, 221u8, 101u8, 161u8, 83u8, 9u8, 221u8, + 175u8, 221u8, 220u8, 81u8, 80u8, 1u8, 236u8, 74u8, 121u8, 10u8, 82u8, ], ) } @@ -12783,10 +12498,9 @@ pub mod api { "RunnersUp", vec![], [ - 248u8, 81u8, 190u8, 53u8, 121u8, 49u8, 55u8, 69u8, 116u8, - 177u8, 46u8, 30u8, 131u8, 14u8, 32u8, 198u8, 10u8, 132u8, - 73u8, 117u8, 2u8, 146u8, 188u8, 146u8, 214u8, 227u8, 97u8, - 77u8, 7u8, 131u8, 208u8, 209u8, + 248u8, 81u8, 190u8, 53u8, 121u8, 49u8, 55u8, 69u8, 116u8, 177u8, 46u8, + 30u8, 131u8, 14u8, 32u8, 198u8, 10u8, 132u8, 73u8, 117u8, 2u8, 146u8, + 188u8, 146u8, 214u8, 227u8, 97u8, 77u8, 7u8, 131u8, 208u8, 209u8, ], ) } @@ -12800,10 +12514,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - ::std::vec::Vec<( - ::subxt::utils::AccountId32, - ::core::primitive::u128, - )>, + ::std::vec::Vec<(::subxt::utils::AccountId32, ::core::primitive::u128)>, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, (), @@ -12813,10 +12524,10 @@ pub mod api { "Candidates", vec![], [ - 224u8, 107u8, 141u8, 11u8, 54u8, 86u8, 117u8, 45u8, 195u8, - 252u8, 152u8, 21u8, 165u8, 23u8, 198u8, 117u8, 5u8, 216u8, - 183u8, 163u8, 243u8, 56u8, 11u8, 102u8, 85u8, 107u8, 219u8, - 250u8, 45u8, 80u8, 108u8, 127u8, + 224u8, 107u8, 141u8, 11u8, 54u8, 86u8, 117u8, 45u8, 195u8, 252u8, + 152u8, 21u8, 165u8, 23u8, 198u8, 117u8, 5u8, 216u8, 183u8, 163u8, + 243u8, 56u8, 11u8, 102u8, 85u8, 107u8, 219u8, 250u8, 45u8, 80u8, 108u8, + 127u8, ], ) } @@ -12835,10 +12546,10 @@ pub mod api { "ElectionRounds", vec![], [ - 144u8, 146u8, 10u8, 32u8, 149u8, 147u8, 59u8, 205u8, 61u8, - 246u8, 28u8, 169u8, 130u8, 136u8, 143u8, 104u8, 253u8, 86u8, - 228u8, 68u8, 19u8, 184u8, 166u8, 214u8, 58u8, 103u8, 176u8, - 160u8, 240u8, 249u8, 117u8, 115u8, + 144u8, 146u8, 10u8, 32u8, 149u8, 147u8, 59u8, 205u8, 61u8, 246u8, 28u8, + 169u8, 130u8, 136u8, 143u8, 104u8, 253u8, 86u8, 228u8, 68u8, 19u8, + 184u8, 166u8, 214u8, 58u8, 103u8, 176u8, 160u8, 240u8, 249u8, 117u8, + 115u8, ], ) } @@ -12861,14 +12572,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "PhragmenElection", "Voting", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 9u8, 135u8, 76u8, 194u8, 240u8, 182u8, 111u8, 207u8, 102u8, - 37u8, 126u8, 36u8, 84u8, 112u8, 26u8, 216u8, 175u8, 5u8, - 14u8, 189u8, 83u8, 185u8, 136u8, 39u8, 171u8, 221u8, 147u8, - 20u8, 168u8, 126u8, 111u8, 137u8, + 9u8, 135u8, 76u8, 194u8, 240u8, 182u8, 111u8, 207u8, 102u8, 37u8, + 126u8, 36u8, 84u8, 112u8, 26u8, 216u8, 175u8, 5u8, 14u8, 189u8, 83u8, + 185u8, 136u8, 39u8, 171u8, 221u8, 147u8, 20u8, 168u8, 126u8, 111u8, + 137u8, ], ) } @@ -12892,10 +12603,10 @@ pub mod api { "Voting", Vec::new(), [ - 9u8, 135u8, 76u8, 194u8, 240u8, 182u8, 111u8, 207u8, 102u8, - 37u8, 126u8, 36u8, 84u8, 112u8, 26u8, 216u8, 175u8, 5u8, - 14u8, 189u8, 83u8, 185u8, 136u8, 39u8, 171u8, 221u8, 147u8, - 20u8, 168u8, 126u8, 111u8, 137u8, + 9u8, 135u8, 76u8, 194u8, 240u8, 182u8, 111u8, 207u8, 102u8, 37u8, + 126u8, 36u8, 84u8, 112u8, 26u8, 216u8, 175u8, 5u8, 14u8, 189u8, 83u8, + 185u8, 136u8, 39u8, 171u8, 221u8, 147u8, 20u8, 168u8, 126u8, 111u8, + 137u8, ], ) } @@ -12908,32 +12619,29 @@ pub mod api { #[doc = " Identifier for the elections-phragmen pallet's lock"] pub fn pallet_id( &self, - ) -> ::subxt::constants::Address<[::core::primitive::u8; 8usize]> - { + ) -> ::subxt::constants::Address<[::core::primitive::u8; 8usize]> { ::subxt::constants::Address::new_static( "PhragmenElection", "PalletId", [ - 224u8, 197u8, 247u8, 125u8, 62u8, 180u8, 69u8, 91u8, 226u8, - 36u8, 82u8, 148u8, 70u8, 147u8, 209u8, 40u8, 210u8, 229u8, - 181u8, 191u8, 170u8, 205u8, 138u8, 97u8, 127u8, 59u8, 124u8, - 244u8, 252u8, 30u8, 213u8, 179u8, + 224u8, 197u8, 247u8, 125u8, 62u8, 180u8, 69u8, 91u8, 226u8, 36u8, 82u8, + 148u8, 70u8, 147u8, 209u8, 40u8, 210u8, 229u8, 181u8, 191u8, 170u8, + 205u8, 138u8, 97u8, 127u8, 59u8, 124u8, 244u8, 252u8, 30u8, 213u8, + 179u8, ], ) } #[doc = " How much should be locked up in order to submit one's candidacy."] pub fn candidacy_bond( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "PhragmenElection", "CandidacyBond", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -12943,32 +12651,28 @@ pub mod api { #[doc = " creating a gigantic number of votes."] pub fn voting_bond_base( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "PhragmenElection", "VotingBondBase", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } #[doc = " The amount of bond that need to be locked for each vote (32 bytes)."] pub fn voting_bond_factor( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "PhragmenElection", "VotingBondFactor", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -12980,10 +12684,10 @@ pub mod api { "PhragmenElection", "DesiredMembers", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -12995,27 +12699,25 @@ pub mod api { "PhragmenElection", "DesiredRunnersUp", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " How long each seat is kept. This defines the next block number at which an election"] #[doc = " round will happen. If set to zero, no elections are ever triggered and the module will"] #[doc = " be in passive mode."] - pub fn term_duration( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn term_duration(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "PhragmenElection", "TermDuration", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -13031,10 +12733,10 @@ pub mod api { "PhragmenElection", "MaxCandidates", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -13042,17 +12744,15 @@ pub mod api { #[doc = ""] #[doc = " Warning: This impacts the size of the election which is run onchain."] #[doc = " When the limit is reached the new voters are ignored."] - pub fn max_voters( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn max_voters(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "PhragmenElection", "MaxVoters", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -13164,10 +12864,10 @@ pub mod api { "add_member", AddMember { who }, [ - 165u8, 116u8, 123u8, 50u8, 236u8, 196u8, 108u8, 211u8, 112u8, - 214u8, 121u8, 105u8, 7u8, 88u8, 125u8, 99u8, 24u8, 0u8, - 168u8, 65u8, 158u8, 100u8, 42u8, 62u8, 101u8, 59u8, 30u8, - 174u8, 170u8, 119u8, 141u8, 121u8, + 165u8, 116u8, 123u8, 50u8, 236u8, 196u8, 108u8, 211u8, 112u8, 214u8, + 121u8, 105u8, 7u8, 88u8, 125u8, 99u8, 24u8, 0u8, 168u8, 65u8, 158u8, + 100u8, 42u8, 62u8, 101u8, 59u8, 30u8, 174u8, 170u8, 119u8, 141u8, + 121u8, ], ) } @@ -13183,10 +12883,9 @@ pub mod api { "remove_member", RemoveMember { who }, [ - 177u8, 18u8, 217u8, 235u8, 254u8, 40u8, 137u8, 79u8, 146u8, - 5u8, 55u8, 187u8, 129u8, 28u8, 54u8, 132u8, 115u8, 220u8, - 132u8, 139u8, 91u8, 81u8, 0u8, 110u8, 188u8, 248u8, 1u8, - 135u8, 93u8, 153u8, 95u8, 193u8, + 177u8, 18u8, 217u8, 235u8, 254u8, 40u8, 137u8, 79u8, 146u8, 5u8, 55u8, + 187u8, 129u8, 28u8, 54u8, 132u8, 115u8, 220u8, 132u8, 139u8, 91u8, + 81u8, 0u8, 110u8, 188u8, 248u8, 1u8, 135u8, 93u8, 153u8, 95u8, 193u8, ], ) } @@ -13205,10 +12904,10 @@ pub mod api { "swap_member", SwapMember { remove, add }, [ - 96u8, 248u8, 50u8, 206u8, 192u8, 242u8, 162u8, 62u8, 28u8, - 91u8, 11u8, 208u8, 15u8, 84u8, 188u8, 234u8, 219u8, 233u8, - 200u8, 215u8, 157u8, 155u8, 40u8, 220u8, 132u8, 182u8, 57u8, - 210u8, 94u8, 240u8, 95u8, 252u8, + 96u8, 248u8, 50u8, 206u8, 192u8, 242u8, 162u8, 62u8, 28u8, 91u8, 11u8, + 208u8, 15u8, 84u8, 188u8, 234u8, 219u8, 233u8, 200u8, 215u8, 157u8, + 155u8, 40u8, 220u8, 132u8, 182u8, 57u8, 210u8, 94u8, 240u8, 95u8, + 252u8, ], ) } @@ -13225,10 +12924,9 @@ pub mod api { "reset_members", ResetMembers { members }, [ - 9u8, 35u8, 28u8, 59u8, 158u8, 232u8, 89u8, 78u8, 101u8, 53u8, - 240u8, 98u8, 13u8, 104u8, 235u8, 161u8, 201u8, 150u8, 117u8, - 32u8, 75u8, 209u8, 166u8, 252u8, 57u8, 131u8, 96u8, 215u8, - 51u8, 81u8, 42u8, 123u8, + 9u8, 35u8, 28u8, 59u8, 158u8, 232u8, 89u8, 78u8, 101u8, 53u8, 240u8, + 98u8, 13u8, 104u8, 235u8, 161u8, 201u8, 150u8, 117u8, 32u8, 75u8, + 209u8, 166u8, 252u8, 57u8, 131u8, 96u8, 215u8, 51u8, 81u8, 42u8, 123u8, ], ) } @@ -13246,10 +12944,10 @@ pub mod api { "change_key", ChangeKey { new }, [ - 27u8, 236u8, 241u8, 168u8, 98u8, 39u8, 176u8, 220u8, 145u8, - 48u8, 173u8, 25u8, 179u8, 103u8, 170u8, 13u8, 166u8, 181u8, - 131u8, 160u8, 131u8, 219u8, 116u8, 34u8, 152u8, 152u8, 46u8, - 100u8, 46u8, 5u8, 156u8, 195u8, + 27u8, 236u8, 241u8, 168u8, 98u8, 39u8, 176u8, 220u8, 145u8, 48u8, + 173u8, 25u8, 179u8, 103u8, 170u8, 13u8, 166u8, 181u8, 131u8, 160u8, + 131u8, 219u8, 116u8, 34u8, 152u8, 152u8, 46u8, 100u8, 46u8, 5u8, 156u8, + 195u8, ], ) } @@ -13265,10 +12963,9 @@ pub mod api { "set_prime", SetPrime { who }, [ - 0u8, 42u8, 111u8, 52u8, 151u8, 19u8, 239u8, 149u8, 183u8, - 252u8, 87u8, 194u8, 145u8, 21u8, 245u8, 112u8, 221u8, 181u8, - 87u8, 28u8, 48u8, 39u8, 210u8, 133u8, 241u8, 207u8, 255u8, - 209u8, 139u8, 232u8, 119u8, 64u8, + 0u8, 42u8, 111u8, 52u8, 151u8, 19u8, 239u8, 149u8, 183u8, 252u8, 87u8, + 194u8, 145u8, 21u8, 245u8, 112u8, 221u8, 181u8, 87u8, 28u8, 48u8, 39u8, + 210u8, 133u8, 241u8, 207u8, 255u8, 209u8, 139u8, 232u8, 119u8, 64u8, ], ) } @@ -13281,10 +12978,9 @@ pub mod api { "clear_prime", ClearPrime {}, [ - 186u8, 182u8, 225u8, 90u8, 71u8, 124u8, 69u8, 100u8, 234u8, - 25u8, 53u8, 23u8, 182u8, 32u8, 176u8, 81u8, 54u8, 140u8, - 235u8, 126u8, 247u8, 7u8, 155u8, 62u8, 35u8, 135u8, 48u8, - 61u8, 88u8, 160u8, 183u8, 72u8, + 186u8, 182u8, 225u8, 90u8, 71u8, 124u8, 69u8, 100u8, 234u8, 25u8, 53u8, + 23u8, 182u8, 32u8, 176u8, 81u8, 54u8, 140u8, 235u8, 126u8, 247u8, 7u8, + 155u8, 62u8, 35u8, 135u8, 48u8, 61u8, 88u8, 160u8, 183u8, 72u8, ], ) } @@ -13406,10 +13102,9 @@ pub mod api { "Members", vec![], [ - 56u8, 56u8, 29u8, 90u8, 26u8, 115u8, 252u8, 185u8, 37u8, - 108u8, 16u8, 46u8, 136u8, 139u8, 30u8, 19u8, 235u8, 78u8, - 176u8, 129u8, 180u8, 57u8, 178u8, 239u8, 211u8, 6u8, 64u8, - 129u8, 195u8, 46u8, 178u8, 157u8, + 56u8, 56u8, 29u8, 90u8, 26u8, 115u8, 252u8, 185u8, 37u8, 108u8, 16u8, + 46u8, 136u8, 139u8, 30u8, 19u8, 235u8, 78u8, 176u8, 129u8, 180u8, 57u8, + 178u8, 239u8, 211u8, 6u8, 64u8, 129u8, 195u8, 46u8, 178u8, 157u8, ], ) } @@ -13428,10 +13123,10 @@ pub mod api { "Prime", vec![], [ - 108u8, 118u8, 54u8, 193u8, 207u8, 227u8, 119u8, 97u8, 23u8, - 239u8, 157u8, 69u8, 56u8, 142u8, 106u8, 17u8, 215u8, 159u8, - 48u8, 42u8, 185u8, 209u8, 49u8, 159u8, 32u8, 168u8, 111u8, - 158u8, 159u8, 217u8, 244u8, 158u8, + 108u8, 118u8, 54u8, 193u8, 207u8, 227u8, 119u8, 97u8, 23u8, 239u8, + 157u8, 69u8, 56u8, 142u8, 106u8, 17u8, 215u8, 159u8, 48u8, 42u8, 185u8, + 209u8, 49u8, 159u8, 32u8, 168u8, 111u8, 158u8, 159u8, 217u8, 244u8, + 158u8, ], ) } @@ -13458,8 +13153,7 @@ pub mod api { pub struct ProposeSpend { #[codec(compact)] pub value: ::core::primitive::u128, - pub beneficiary: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -13499,8 +13193,7 @@ pub mod api { pub struct Spend { #[codec(compact)] pub amount: ::core::primitive::u128, - pub beneficiary: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -13529,20 +13222,16 @@ pub mod api { pub fn propose_spend( &self, value: ::core::primitive::u128, - beneficiary: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Treasury", "propose_spend", ProposeSpend { value, beneficiary }, [ - 109u8, 46u8, 8u8, 159u8, 127u8, 79u8, 27u8, 100u8, 92u8, - 244u8, 78u8, 46u8, 105u8, 246u8, 169u8, 210u8, 149u8, 7u8, - 108u8, 153u8, 203u8, 223u8, 8u8, 117u8, 126u8, 250u8, 255u8, - 52u8, 245u8, 69u8, 45u8, 136u8, + 109u8, 46u8, 8u8, 159u8, 127u8, 79u8, 27u8, 100u8, 92u8, 244u8, 78u8, + 46u8, 105u8, 246u8, 169u8, 210u8, 149u8, 7u8, 108u8, 153u8, 203u8, + 223u8, 8u8, 117u8, 126u8, 250u8, 255u8, 52u8, 245u8, 69u8, 45u8, 136u8, ], ) } @@ -13564,10 +13253,10 @@ pub mod api { "reject_proposal", RejectProposal { proposal_id }, [ - 106u8, 223u8, 97u8, 22u8, 111u8, 208u8, 128u8, 26u8, 198u8, - 140u8, 118u8, 126u8, 187u8, 51u8, 193u8, 50u8, 193u8, 68u8, - 143u8, 144u8, 34u8, 132u8, 44u8, 244u8, 105u8, 186u8, 223u8, - 234u8, 17u8, 145u8, 209u8, 145u8, + 106u8, 223u8, 97u8, 22u8, 111u8, 208u8, 128u8, 26u8, 198u8, 140u8, + 118u8, 126u8, 187u8, 51u8, 193u8, 50u8, 193u8, 68u8, 143u8, 144u8, + 34u8, 132u8, 44u8, 244u8, 105u8, 186u8, 223u8, 234u8, 17u8, 145u8, + 209u8, 145u8, ], ) } @@ -13590,10 +13279,9 @@ pub mod api { "approve_proposal", ApproveProposal { proposal_id }, [ - 164u8, 229u8, 172u8, 98u8, 129u8, 62u8, 84u8, 128u8, 47u8, - 108u8, 33u8, 120u8, 89u8, 79u8, 57u8, 121u8, 4u8, 197u8, - 170u8, 153u8, 156u8, 17u8, 59u8, 164u8, 123u8, 227u8, 175u8, - 195u8, 220u8, 160u8, 60u8, 186u8, + 164u8, 229u8, 172u8, 98u8, 129u8, 62u8, 84u8, 128u8, 47u8, 108u8, 33u8, + 120u8, 89u8, 79u8, 57u8, 121u8, 4u8, 197u8, 170u8, 153u8, 156u8, 17u8, + 59u8, 164u8, 123u8, 227u8, 175u8, 195u8, 220u8, 160u8, 60u8, 186u8, ], ) } @@ -13608,10 +13296,7 @@ pub mod api { pub fn spend( &self, amount: ::core::primitive::u128, - beneficiary: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Treasury", @@ -13621,10 +13306,9 @@ pub mod api { beneficiary, }, [ - 177u8, 178u8, 242u8, 136u8, 135u8, 237u8, 114u8, 71u8, 233u8, - 239u8, 7u8, 84u8, 14u8, 228u8, 58u8, 31u8, 158u8, 185u8, - 25u8, 91u8, 70u8, 33u8, 19u8, 92u8, 100u8, 162u8, 5u8, 48u8, - 20u8, 120u8, 9u8, 109u8, + 177u8, 178u8, 242u8, 136u8, 135u8, 237u8, 114u8, 71u8, 233u8, 239u8, + 7u8, 84u8, 14u8, 228u8, 58u8, 31u8, 158u8, 185u8, 25u8, 91u8, 70u8, + 33u8, 19u8, 92u8, 100u8, 162u8, 5u8, 48u8, 20u8, 120u8, 9u8, 109u8, ], ) } @@ -13652,10 +13336,9 @@ pub mod api { "remove_approval", RemoveApproval { proposal_id }, [ - 133u8, 126u8, 181u8, 47u8, 196u8, 243u8, 7u8, 46u8, 25u8, - 251u8, 154u8, 125u8, 217u8, 77u8, 54u8, 245u8, 240u8, 180u8, - 97u8, 34u8, 186u8, 53u8, 225u8, 144u8, 155u8, 107u8, 172u8, - 54u8, 250u8, 184u8, 178u8, 86u8, + 133u8, 126u8, 181u8, 47u8, 196u8, 243u8, 7u8, 46u8, 25u8, 251u8, 154u8, + 125u8, 217u8, 77u8, 54u8, 245u8, 240u8, 180u8, 97u8, 34u8, 186u8, 53u8, + 225u8, 144u8, 155u8, 107u8, 172u8, 54u8, 250u8, 184u8, 178u8, 86u8, ], ) } @@ -13831,10 +13514,10 @@ pub mod api { "ProposalCount", vec![], [ - 132u8, 145u8, 78u8, 218u8, 51u8, 189u8, 55u8, 172u8, 143u8, - 33u8, 140u8, 99u8, 124u8, 208u8, 57u8, 232u8, 154u8, 110u8, - 32u8, 142u8, 24u8, 149u8, 109u8, 105u8, 30u8, 83u8, 39u8, - 177u8, 127u8, 160u8, 34u8, 70u8, + 132u8, 145u8, 78u8, 218u8, 51u8, 189u8, 55u8, 172u8, 143u8, 33u8, + 140u8, 99u8, 124u8, 208u8, 57u8, 232u8, 154u8, 110u8, 32u8, 142u8, + 24u8, 149u8, 109u8, 105u8, 30u8, 83u8, 39u8, 177u8, 127u8, 160u8, 34u8, + 70u8, ], ) } @@ -13855,14 +13538,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Treasury", "Proposals", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 62u8, 223u8, 55u8, 209u8, 151u8, 134u8, 122u8, 65u8, 207u8, - 38u8, 113u8, 213u8, 237u8, 48u8, 129u8, 32u8, 91u8, 228u8, - 108u8, 91u8, 37u8, 49u8, 94u8, 4u8, 75u8, 122u8, 25u8, 34u8, - 198u8, 224u8, 246u8, 160u8, + 62u8, 223u8, 55u8, 209u8, 151u8, 134u8, 122u8, 65u8, 207u8, 38u8, + 113u8, 213u8, 237u8, 48u8, 129u8, 32u8, 91u8, 228u8, 108u8, 91u8, 37u8, + 49u8, 94u8, 4u8, 75u8, 122u8, 25u8, 34u8, 198u8, 224u8, 246u8, 160u8, ], ) } @@ -13884,10 +13566,9 @@ pub mod api { "Proposals", Vec::new(), [ - 62u8, 223u8, 55u8, 209u8, 151u8, 134u8, 122u8, 65u8, 207u8, - 38u8, 113u8, 213u8, 237u8, 48u8, 129u8, 32u8, 91u8, 228u8, - 108u8, 91u8, 37u8, 49u8, 94u8, 4u8, 75u8, 122u8, 25u8, 34u8, - 198u8, 224u8, 246u8, 160u8, + 62u8, 223u8, 55u8, 209u8, 151u8, 134u8, 122u8, 65u8, 207u8, 38u8, + 113u8, 213u8, 237u8, 48u8, 129u8, 32u8, 91u8, 228u8, 108u8, 91u8, 37u8, + 49u8, 94u8, 4u8, 75u8, 122u8, 25u8, 34u8, 198u8, 224u8, 246u8, 160u8, ], ) } @@ -13908,10 +13589,10 @@ pub mod api { "Approvals", vec![], [ - 202u8, 106u8, 189u8, 40u8, 127u8, 172u8, 108u8, 50u8, 193u8, - 4u8, 248u8, 226u8, 176u8, 101u8, 212u8, 222u8, 64u8, 206u8, - 244u8, 175u8, 111u8, 106u8, 86u8, 96u8, 19u8, 109u8, 218u8, - 152u8, 30u8, 59u8, 96u8, 1u8, + 202u8, 106u8, 189u8, 40u8, 127u8, 172u8, 108u8, 50u8, 193u8, 4u8, + 248u8, 226u8, 176u8, 101u8, 212u8, 222u8, 64u8, 206u8, 244u8, 175u8, + 111u8, 106u8, 86u8, 96u8, 19u8, 109u8, 218u8, 152u8, 30u8, 59u8, 96u8, + 1u8, ], ) } @@ -13925,82 +13606,73 @@ pub mod api { #[doc = " An accepted proposal gets these back. A rejected proposal does not."] pub fn proposal_bond( &self, - ) -> ::subxt::constants::Address< - runtime_types::sp_arithmetic::per_things::Permill, - > { + ) -> ::subxt::constants::Address + { ::subxt::constants::Address::new_static( "Treasury", "ProposalBond", [ - 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, - 19u8, 87u8, 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, - 225u8, 53u8, 212u8, 52u8, 177u8, 79u8, 4u8, 116u8, 201u8, - 104u8, 222u8, 75u8, 86u8, 227u8, + 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, 19u8, 87u8, + 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, 225u8, 53u8, 212u8, 52u8, + 177u8, 79u8, 4u8, 116u8, 201u8, 104u8, 222u8, 75u8, 86u8, 227u8, ], ) } #[doc = " Minimum amount of funds that should be placed in a deposit for making a proposal."] pub fn proposal_bond_minimum( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Treasury", "ProposalBondMinimum", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } #[doc = " Maximum amount of funds that should be placed in a deposit for making a proposal."] pub fn proposal_bond_maximum( &self, - ) -> ::subxt::constants::Address< - ::core::option::Option<::core::primitive::u128>, - > { + ) -> ::subxt::constants::Address<::core::option::Option<::core::primitive::u128>> + { ::subxt::constants::Address::new_static( "Treasury", "ProposalBondMaximum", [ - 84u8, 154u8, 218u8, 83u8, 84u8, 189u8, 32u8, 20u8, 120u8, - 194u8, 88u8, 205u8, 109u8, 216u8, 114u8, 193u8, 120u8, 198u8, - 154u8, 237u8, 134u8, 204u8, 102u8, 247u8, 52u8, 103u8, 231u8, - 43u8, 243u8, 122u8, 60u8, 216u8, + 84u8, 154u8, 218u8, 83u8, 84u8, 189u8, 32u8, 20u8, 120u8, 194u8, 88u8, + 205u8, 109u8, 216u8, 114u8, 193u8, 120u8, 198u8, 154u8, 237u8, 134u8, + 204u8, 102u8, 247u8, 52u8, 103u8, 231u8, 43u8, 243u8, 122u8, 60u8, + 216u8, ], ) } #[doc = " Period between successive spends."] - pub fn spend_period( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn spend_period(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Treasury", "SpendPeriod", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " Percentage of spare funds (if any) that are burnt per spend period."] pub fn burn( &self, - ) -> ::subxt::constants::Address< - runtime_types::sp_arithmetic::per_things::Permill, - > { + ) -> ::subxt::constants::Address + { ::subxt::constants::Address::new_static( "Treasury", "Burn", [ - 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, - 19u8, 87u8, 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, - 225u8, 53u8, 212u8, 52u8, 177u8, 79u8, 4u8, 116u8, 201u8, - 104u8, 222u8, 75u8, 86u8, 227u8, + 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, 19u8, 87u8, + 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, 225u8, 53u8, 212u8, 52u8, + 177u8, 79u8, 4u8, 116u8, 201u8, 104u8, 222u8, 75u8, 86u8, 227u8, ], ) } @@ -14013,27 +13685,24 @@ pub mod api { "Treasury", "PalletId", [ - 139u8, 109u8, 228u8, 151u8, 252u8, 32u8, 130u8, 69u8, 112u8, - 154u8, 174u8, 45u8, 83u8, 245u8, 51u8, 132u8, 173u8, 5u8, - 186u8, 24u8, 243u8, 9u8, 12u8, 214u8, 80u8, 74u8, 69u8, - 189u8, 30u8, 94u8, 22u8, 39u8, + 139u8, 109u8, 228u8, 151u8, 252u8, 32u8, 130u8, 69u8, 112u8, 154u8, + 174u8, 45u8, 83u8, 245u8, 51u8, 132u8, 173u8, 5u8, 186u8, 24u8, 243u8, + 9u8, 12u8, 214u8, 80u8, 74u8, 69u8, 189u8, 30u8, 94u8, 22u8, 39u8, ], ) } #[doc = " The maximum number of approvals that can wait in the spending queue."] #[doc = ""] #[doc = " NOTE: This parameter is also used within the Bounties Pallet extension if enabled."] - pub fn max_approvals( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn max_approvals(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Treasury", "MaxApprovals", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -14163,10 +13832,9 @@ pub mod api { ethereum_signature, }, [ - 33u8, 63u8, 71u8, 104u8, 200u8, 179u8, 248u8, 38u8, 193u8, - 198u8, 250u8, 49u8, 106u8, 26u8, 109u8, 183u8, 33u8, 50u8, - 217u8, 28u8, 50u8, 107u8, 249u8, 80u8, 199u8, 10u8, 192u8, - 1u8, 54u8, 41u8, 146u8, 11u8, + 33u8, 63u8, 71u8, 104u8, 200u8, 179u8, 248u8, 38u8, 193u8, 198u8, + 250u8, 49u8, 106u8, 26u8, 109u8, 183u8, 33u8, 50u8, 217u8, 28u8, 50u8, + 107u8, 249u8, 80u8, 199u8, 10u8, 192u8, 1u8, 54u8, 41u8, 146u8, 11u8, ], ) } @@ -14208,10 +13876,9 @@ pub mod api { statement, }, [ - 213u8, 79u8, 204u8, 40u8, 104u8, 84u8, 82u8, 62u8, 193u8, - 93u8, 246u8, 21u8, 37u8, 244u8, 166u8, 132u8, 208u8, 18u8, - 86u8, 195u8, 156u8, 9u8, 220u8, 120u8, 40u8, 183u8, 28u8, - 103u8, 84u8, 163u8, 153u8, 110u8, + 213u8, 79u8, 204u8, 40u8, 104u8, 84u8, 82u8, 62u8, 193u8, 93u8, 246u8, + 21u8, 37u8, 244u8, 166u8, 132u8, 208u8, 18u8, 86u8, 195u8, 156u8, 9u8, + 220u8, 120u8, 40u8, 183u8, 28u8, 103u8, 84u8, 163u8, 153u8, 110u8, ], ) } @@ -14256,10 +13923,10 @@ pub mod api { statement, }, [ - 255u8, 10u8, 87u8, 106u8, 101u8, 195u8, 249u8, 25u8, 109u8, - 82u8, 213u8, 95u8, 203u8, 145u8, 224u8, 113u8, 92u8, 141u8, - 31u8, 54u8, 218u8, 47u8, 218u8, 239u8, 211u8, 206u8, 77u8, - 176u8, 19u8, 176u8, 175u8, 135u8, + 255u8, 10u8, 87u8, 106u8, 101u8, 195u8, 249u8, 25u8, 109u8, 82u8, + 213u8, 95u8, 203u8, 145u8, 224u8, 113u8, 92u8, 141u8, 31u8, 54u8, + 218u8, 47u8, 218u8, 239u8, 211u8, 206u8, 77u8, 176u8, 19u8, 176u8, + 175u8, 135u8, ], ) } @@ -14289,10 +13956,9 @@ pub mod api { "attest", Attest { statement }, [ - 8u8, 218u8, 97u8, 237u8, 185u8, 61u8, 55u8, 4u8, 134u8, 18u8, - 244u8, 226u8, 40u8, 97u8, 222u8, 246u8, 221u8, 74u8, 253u8, - 22u8, 52u8, 223u8, 224u8, 83u8, 21u8, 218u8, 248u8, 100u8, - 107u8, 58u8, 247u8, 10u8, + 8u8, 218u8, 97u8, 237u8, 185u8, 61u8, 55u8, 4u8, 134u8, 18u8, 244u8, + 226u8, 40u8, 97u8, 222u8, 246u8, 221u8, 74u8, 253u8, 22u8, 52u8, 223u8, + 224u8, 83u8, 21u8, 218u8, 248u8, 100u8, 107u8, 58u8, 247u8, 10u8, ], ) } @@ -14311,10 +13977,10 @@ pub mod api { maybe_preclaim, }, [ - 63u8, 48u8, 217u8, 16u8, 161u8, 102u8, 165u8, 241u8, 57u8, - 185u8, 230u8, 161u8, 202u8, 11u8, 223u8, 15u8, 57u8, 181u8, - 34u8, 131u8, 235u8, 168u8, 227u8, 152u8, 157u8, 4u8, 192u8, - 243u8, 194u8, 120u8, 130u8, 202u8, + 63u8, 48u8, 217u8, 16u8, 161u8, 102u8, 165u8, 241u8, 57u8, 185u8, + 230u8, 161u8, 202u8, 11u8, 223u8, 15u8, 57u8, 181u8, 34u8, 131u8, + 235u8, 168u8, 227u8, 152u8, 157u8, 4u8, 192u8, 243u8, 194u8, 120u8, + 130u8, 202u8, ], ) } @@ -14364,14 +14030,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Claims", "Claims", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 36u8, 247u8, 169u8, 171u8, 103u8, 176u8, 70u8, 213u8, 255u8, - 175u8, 97u8, 142u8, 231u8, 70u8, 90u8, 213u8, 128u8, 67u8, - 50u8, 37u8, 51u8, 184u8, 72u8, 27u8, 193u8, 254u8, 12u8, - 253u8, 91u8, 60u8, 88u8, 182u8, + 36u8, 247u8, 169u8, 171u8, 103u8, 176u8, 70u8, 213u8, 255u8, 175u8, + 97u8, 142u8, 231u8, 70u8, 90u8, 213u8, 128u8, 67u8, 50u8, 37u8, 51u8, + 184u8, 72u8, 27u8, 193u8, 254u8, 12u8, 253u8, 91u8, 60u8, 88u8, 182u8, ], ) } @@ -14389,10 +14054,9 @@ pub mod api { "Claims", Vec::new(), [ - 36u8, 247u8, 169u8, 171u8, 103u8, 176u8, 70u8, 213u8, 255u8, - 175u8, 97u8, 142u8, 231u8, 70u8, 90u8, 213u8, 128u8, 67u8, - 50u8, 37u8, 51u8, 184u8, 72u8, 27u8, 193u8, 254u8, 12u8, - 253u8, 91u8, 60u8, 88u8, 182u8, + 36u8, 247u8, 169u8, 171u8, 103u8, 176u8, 70u8, 213u8, 255u8, 175u8, + 97u8, 142u8, 231u8, 70u8, 90u8, 213u8, 128u8, 67u8, 50u8, 37u8, 51u8, + 184u8, 72u8, 27u8, 193u8, 254u8, 12u8, 253u8, 91u8, 60u8, 88u8, 182u8, ], ) } @@ -14410,10 +14074,9 @@ pub mod api { "Total", vec![], [ - 162u8, 59u8, 237u8, 63u8, 23u8, 44u8, 74u8, 169u8, 131u8, - 166u8, 174u8, 61u8, 127u8, 165u8, 32u8, 115u8, 73u8, 171u8, - 36u8, 10u8, 6u8, 23u8, 19u8, 202u8, 3u8, 189u8, 29u8, 169u8, - 144u8, 187u8, 235u8, 77u8, + 162u8, 59u8, 237u8, 63u8, 23u8, 44u8, 74u8, 169u8, 131u8, 166u8, 174u8, + 61u8, 127u8, 165u8, 32u8, 115u8, 73u8, 171u8, 36u8, 10u8, 6u8, 23u8, + 19u8, 202u8, 3u8, 189u8, 29u8, 169u8, 144u8, 187u8, 235u8, 77u8, ], ) } @@ -14440,14 +14103,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Claims", "Vesting", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 112u8, 174u8, 151u8, 185u8, 225u8, 170u8, 63u8, 147u8, 100u8, - 23u8, 102u8, 148u8, 244u8, 47u8, 87u8, 99u8, 28u8, 59u8, - 48u8, 205u8, 43u8, 41u8, 87u8, 225u8, 191u8, 164u8, 31u8, - 208u8, 80u8, 53u8, 25u8, 205u8, + 112u8, 174u8, 151u8, 185u8, 225u8, 170u8, 63u8, 147u8, 100u8, 23u8, + 102u8, 148u8, 244u8, 47u8, 87u8, 99u8, 28u8, 59u8, 48u8, 205u8, 43u8, + 41u8, 87u8, 225u8, 191u8, 164u8, 31u8, 208u8, 80u8, 53u8, 25u8, 205u8, ], ) } @@ -14473,10 +14135,9 @@ pub mod api { "Vesting", Vec::new(), [ - 112u8, 174u8, 151u8, 185u8, 225u8, 170u8, 63u8, 147u8, 100u8, - 23u8, 102u8, 148u8, 244u8, 47u8, 87u8, 99u8, 28u8, 59u8, - 48u8, 205u8, 43u8, 41u8, 87u8, 225u8, 191u8, 164u8, 31u8, - 208u8, 80u8, 53u8, 25u8, 205u8, + 112u8, 174u8, 151u8, 185u8, 225u8, 170u8, 63u8, 147u8, 100u8, 23u8, + 102u8, 148u8, 244u8, 47u8, 87u8, 99u8, 28u8, 59u8, 48u8, 205u8, 43u8, + 41u8, 87u8, 225u8, 191u8, 164u8, 31u8, 208u8, 80u8, 53u8, 25u8, 205u8, ], ) } @@ -14496,14 +14157,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Claims", "Signing", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 51u8, 184u8, 211u8, 207u8, 13u8, 194u8, 181u8, 153u8, 25u8, - 212u8, 106u8, 189u8, 149u8, 14u8, 19u8, 61u8, 210u8, 109u8, - 23u8, 168u8, 191u8, 74u8, 112u8, 190u8, 242u8, 112u8, 183u8, - 17u8, 30u8, 125u8, 85u8, 107u8, + 51u8, 184u8, 211u8, 207u8, 13u8, 194u8, 181u8, 153u8, 25u8, 212u8, + 106u8, 189u8, 149u8, 14u8, 19u8, 61u8, 210u8, 109u8, 23u8, 168u8, + 191u8, 74u8, 112u8, 190u8, 242u8, 112u8, 183u8, 17u8, 30u8, 125u8, + 85u8, 107u8, ], ) } @@ -14522,10 +14183,10 @@ pub mod api { "Signing", Vec::new(), [ - 51u8, 184u8, 211u8, 207u8, 13u8, 194u8, 181u8, 153u8, 25u8, - 212u8, 106u8, 189u8, 149u8, 14u8, 19u8, 61u8, 210u8, 109u8, - 23u8, 168u8, 191u8, 74u8, 112u8, 190u8, 242u8, 112u8, 183u8, - 17u8, 30u8, 125u8, 85u8, 107u8, + 51u8, 184u8, 211u8, 207u8, 13u8, 194u8, 181u8, 153u8, 25u8, 212u8, + 106u8, 189u8, 149u8, 14u8, 19u8, 61u8, 210u8, 109u8, 23u8, 168u8, + 191u8, 74u8, 112u8, 190u8, 242u8, 112u8, 183u8, 17u8, 30u8, 125u8, + 85u8, 107u8, ], ) } @@ -14543,14 +14204,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Claims", "Preclaims", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 149u8, 61u8, 170u8, 170u8, 60u8, 212u8, 29u8, 214u8, 141u8, - 136u8, 207u8, 248u8, 51u8, 135u8, 242u8, 105u8, 121u8, 91u8, - 186u8, 30u8, 0u8, 173u8, 154u8, 133u8, 20u8, 244u8, 58u8, - 184u8, 133u8, 214u8, 67u8, 95u8, + 149u8, 61u8, 170u8, 170u8, 60u8, 212u8, 29u8, 214u8, 141u8, 136u8, + 207u8, 248u8, 51u8, 135u8, 242u8, 105u8, 121u8, 91u8, 186u8, 30u8, 0u8, + 173u8, 154u8, 133u8, 20u8, 244u8, 58u8, 184u8, 133u8, 214u8, 67u8, + 95u8, ], ) } @@ -14569,10 +14230,10 @@ pub mod api { "Preclaims", Vec::new(), [ - 149u8, 61u8, 170u8, 170u8, 60u8, 212u8, 29u8, 214u8, 141u8, - 136u8, 207u8, 248u8, 51u8, 135u8, 242u8, 105u8, 121u8, 91u8, - 186u8, 30u8, 0u8, 173u8, 154u8, 133u8, 20u8, 244u8, 58u8, - 184u8, 133u8, 214u8, 67u8, 95u8, + 149u8, 61u8, 170u8, 170u8, 60u8, 212u8, 29u8, 214u8, 141u8, 136u8, + 207u8, 248u8, 51u8, 135u8, 242u8, 105u8, 121u8, 91u8, 186u8, 30u8, 0u8, + 173u8, 154u8, 133u8, 20u8, 244u8, 58u8, 184u8, 133u8, 214u8, 67u8, + 95u8, ], ) } @@ -14590,10 +14251,9 @@ pub mod api { "Claims", "Prefix", [ - 106u8, 50u8, 57u8, 116u8, 43u8, 202u8, 37u8, 248u8, 102u8, - 22u8, 62u8, 22u8, 242u8, 54u8, 152u8, 168u8, 107u8, 64u8, - 72u8, 172u8, 124u8, 40u8, 42u8, 110u8, 104u8, 145u8, 31u8, - 144u8, 242u8, 189u8, 145u8, 208u8, + 106u8, 50u8, 57u8, 116u8, 43u8, 202u8, 37u8, 248u8, 102u8, 22u8, 62u8, + 22u8, 242u8, 54u8, 152u8, 168u8, 107u8, 64u8, 72u8, 172u8, 124u8, 40u8, + 42u8, 110u8, 104u8, 145u8, 31u8, 144u8, 242u8, 189u8, 145u8, 208u8, ], ) } @@ -14697,10 +14357,9 @@ pub mod api { "vest", Vest {}, [ - 123u8, 54u8, 10u8, 208u8, 154u8, 24u8, 39u8, 166u8, 64u8, - 27u8, 74u8, 29u8, 243u8, 97u8, 155u8, 5u8, 130u8, 155u8, - 65u8, 181u8, 196u8, 125u8, 45u8, 133u8, 25u8, 33u8, 3u8, - 34u8, 21u8, 167u8, 172u8, 54u8, + 123u8, 54u8, 10u8, 208u8, 154u8, 24u8, 39u8, 166u8, 64u8, 27u8, 74u8, + 29u8, 243u8, 97u8, 155u8, 5u8, 130u8, 155u8, 65u8, 181u8, 196u8, 125u8, + 45u8, 133u8, 25u8, 33u8, 3u8, 34u8, 21u8, 167u8, 172u8, 54u8, ], ) } @@ -14728,10 +14387,10 @@ pub mod api { "vest_other", VestOther { target }, [ - 164u8, 19u8, 93u8, 81u8, 235u8, 101u8, 18u8, 52u8, 187u8, - 81u8, 243u8, 216u8, 116u8, 84u8, 188u8, 135u8, 1u8, 241u8, - 128u8, 90u8, 117u8, 164u8, 111u8, 0u8, 251u8, 148u8, 250u8, - 248u8, 102u8, 79u8, 165u8, 175u8, + 164u8, 19u8, 93u8, 81u8, 235u8, 101u8, 18u8, 52u8, 187u8, 81u8, 243u8, + 216u8, 116u8, 84u8, 188u8, 135u8, 1u8, 241u8, 128u8, 90u8, 117u8, + 164u8, 111u8, 0u8, 251u8, 148u8, 250u8, 248u8, 102u8, 79u8, 165u8, + 175u8, ], ) } @@ -14765,10 +14424,10 @@ pub mod api { "vested_transfer", VestedTransfer { target, schedule }, [ - 135u8, 172u8, 56u8, 97u8, 45u8, 141u8, 93u8, 173u8, 111u8, - 252u8, 75u8, 246u8, 92u8, 181u8, 138u8, 87u8, 145u8, 174u8, - 71u8, 108u8, 126u8, 118u8, 49u8, 122u8, 249u8, 132u8, 19u8, - 2u8, 132u8, 160u8, 247u8, 195u8, + 135u8, 172u8, 56u8, 97u8, 45u8, 141u8, 93u8, 173u8, 111u8, 252u8, 75u8, + 246u8, 92u8, 181u8, 138u8, 87u8, 145u8, 174u8, 71u8, 108u8, 126u8, + 118u8, 49u8, 122u8, 249u8, 132u8, 19u8, 2u8, 132u8, 160u8, 247u8, + 195u8, ], ) } @@ -14808,10 +14467,9 @@ pub mod api { schedule, }, [ - 110u8, 142u8, 63u8, 148u8, 90u8, 229u8, 237u8, 183u8, 240u8, - 237u8, 242u8, 32u8, 88u8, 48u8, 220u8, 101u8, 210u8, 212u8, - 27u8, 7u8, 186u8, 98u8, 28u8, 197u8, 148u8, 140u8, 77u8, - 59u8, 202u8, 166u8, 63u8, 97u8, + 110u8, 142u8, 63u8, 148u8, 90u8, 229u8, 237u8, 183u8, 240u8, 237u8, + 242u8, 32u8, 88u8, 48u8, 220u8, 101u8, 210u8, 212u8, 27u8, 7u8, 186u8, + 98u8, 28u8, 197u8, 148u8, 140u8, 77u8, 59u8, 202u8, 166u8, 63u8, 97u8, ], ) } @@ -14849,10 +14507,9 @@ pub mod api { schedule2_index, }, [ - 95u8, 255u8, 147u8, 12u8, 49u8, 25u8, 70u8, 112u8, 55u8, - 154u8, 183u8, 97u8, 56u8, 244u8, 148u8, 61u8, 107u8, 163u8, - 220u8, 31u8, 153u8, 25u8, 193u8, 251u8, 131u8, 26u8, 166u8, - 157u8, 75u8, 4u8, 110u8, 125u8, + 95u8, 255u8, 147u8, 12u8, 49u8, 25u8, 70u8, 112u8, 55u8, 154u8, 183u8, + 97u8, 56u8, 244u8, 148u8, 61u8, 107u8, 163u8, 220u8, 31u8, 153u8, 25u8, + 193u8, 251u8, 131u8, 26u8, 166u8, 157u8, 75u8, 4u8, 110u8, 125u8, ], ) } @@ -14922,14 +14579,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Vesting", "Vesting", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 23u8, 209u8, 233u8, 126u8, 89u8, 156u8, 193u8, 204u8, 100u8, - 90u8, 14u8, 120u8, 36u8, 167u8, 148u8, 239u8, 179u8, 74u8, - 207u8, 83u8, 54u8, 77u8, 27u8, 135u8, 74u8, 31u8, 33u8, 11u8, - 168u8, 239u8, 212u8, 36u8, + 23u8, 209u8, 233u8, 126u8, 89u8, 156u8, 193u8, 204u8, 100u8, 90u8, + 14u8, 120u8, 36u8, 167u8, 148u8, 239u8, 179u8, 74u8, 207u8, 83u8, 54u8, + 77u8, 27u8, 135u8, 74u8, 31u8, 33u8, 11u8, 168u8, 239u8, 212u8, 36u8, ], ) } @@ -14953,10 +14609,9 @@ pub mod api { "Vesting", Vec::new(), [ - 23u8, 209u8, 233u8, 126u8, 89u8, 156u8, 193u8, 204u8, 100u8, - 90u8, 14u8, 120u8, 36u8, 167u8, 148u8, 239u8, 179u8, 74u8, - 207u8, 83u8, 54u8, 77u8, 27u8, 135u8, 74u8, 31u8, 33u8, 11u8, - 168u8, 239u8, 212u8, 36u8, + 23u8, 209u8, 233u8, 126u8, 89u8, 156u8, 193u8, 204u8, 100u8, 90u8, + 14u8, 120u8, 36u8, 167u8, 148u8, 239u8, 179u8, 74u8, 207u8, 83u8, 54u8, + 77u8, 27u8, 135u8, 74u8, 31u8, 33u8, 11u8, 168u8, 239u8, 212u8, 36u8, ], ) } @@ -14977,10 +14632,9 @@ pub mod api { "StorageVersion", vec![], [ - 50u8, 143u8, 26u8, 88u8, 129u8, 31u8, 61u8, 118u8, 19u8, - 202u8, 119u8, 160u8, 34u8, 219u8, 60u8, 57u8, 189u8, 66u8, - 93u8, 239u8, 121u8, 114u8, 241u8, 116u8, 0u8, 122u8, 232u8, - 94u8, 189u8, 23u8, 45u8, 191u8, + 50u8, 143u8, 26u8, 88u8, 129u8, 31u8, 61u8, 118u8, 19u8, 202u8, 119u8, + 160u8, 34u8, 219u8, 60u8, 57u8, 189u8, 66u8, 93u8, 239u8, 121u8, 114u8, + 241u8, 116u8, 0u8, 122u8, 232u8, 94u8, 189u8, 23u8, 45u8, 191u8, ], ) } @@ -14993,16 +14647,14 @@ pub mod api { #[doc = " The minimum amount transferred to call `vested_transfer`."] pub fn min_vested_transfer( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Vesting", "MinVestedTransfer", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -15013,10 +14665,10 @@ pub mod api { "Vesting", "MaxVestingSchedules", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -15078,8 +14730,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct DispatchAs { - pub as_origin: - ::std::boxed::Box, + pub as_origin: ::std::boxed::Box, pub call: ::std::boxed::Box, } #[derive( @@ -15124,10 +14775,10 @@ pub mod api { "batch", Batch { calls }, [ - 243u8, 245u8, 145u8, 160u8, 31u8, 99u8, 157u8, 224u8, 164u8, - 104u8, 116u8, 163u8, 209u8, 121u8, 149u8, 251u8, 122u8, 66u8, - 50u8, 7u8, 190u8, 93u8, 155u8, 159u8, 70u8, 132u8, 23u8, - 55u8, 47u8, 202u8, 146u8, 168u8, + 243u8, 245u8, 145u8, 160u8, 31u8, 99u8, 157u8, 224u8, 164u8, 104u8, + 116u8, 163u8, 209u8, 121u8, 149u8, 251u8, 122u8, 66u8, 50u8, 7u8, + 190u8, 93u8, 155u8, 159u8, 70u8, 132u8, 23u8, 55u8, 47u8, 202u8, 146u8, + 168u8, ], ) } @@ -15157,10 +14808,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 93u8, 108u8, 41u8, 206u8, 109u8, 149u8, 77u8, 161u8, 27u8, - 247u8, 177u8, 201u8, 245u8, 248u8, 46u8, 53u8, 207u8, 62u8, - 10u8, 174u8, 240u8, 59u8, 186u8, 0u8, 197u8, 135u8, 181u8, - 94u8, 1u8, 132u8, 60u8, 233u8, + 93u8, 108u8, 41u8, 206u8, 109u8, 149u8, 77u8, 161u8, 27u8, 247u8, + 177u8, 201u8, 245u8, 248u8, 46u8, 53u8, 207u8, 62u8, 10u8, 174u8, + 240u8, 59u8, 186u8, 0u8, 197u8, 135u8, 181u8, 94u8, 1u8, 132u8, 60u8, + 233u8, ], ) } @@ -15187,10 +14838,10 @@ pub mod api { "batch_all", BatchAll { calls }, [ - 234u8, 106u8, 151u8, 10u8, 11u8, 227u8, 168u8, 197u8, 187u8, - 69u8, 202u8, 14u8, 120u8, 94u8, 156u8, 128u8, 103u8, 185u8, - 26u8, 181u8, 146u8, 249u8, 108u8, 67u8, 142u8, 209u8, 140u8, - 208u8, 2u8, 185u8, 175u8, 223u8, + 234u8, 106u8, 151u8, 10u8, 11u8, 227u8, 168u8, 197u8, 187u8, 69u8, + 202u8, 14u8, 120u8, 94u8, 156u8, 128u8, 103u8, 185u8, 26u8, 181u8, + 146u8, 249u8, 108u8, 67u8, 142u8, 209u8, 140u8, 208u8, 2u8, 185u8, + 175u8, 223u8, ], ) } @@ -15217,10 +14868,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 148u8, 0u8, 144u8, 26u8, 218u8, 140u8, 68u8, 101u8, 15u8, - 56u8, 160u8, 237u8, 202u8, 222u8, 125u8, 100u8, 209u8, 101u8, - 159u8, 117u8, 218u8, 192u8, 55u8, 235u8, 171u8, 54u8, 86u8, - 206u8, 126u8, 188u8, 143u8, 253u8, + 148u8, 0u8, 144u8, 26u8, 218u8, 140u8, 68u8, 101u8, 15u8, 56u8, 160u8, + 237u8, 202u8, 222u8, 125u8, 100u8, 209u8, 101u8, 159u8, 117u8, 218u8, + 192u8, 55u8, 235u8, 171u8, 54u8, 86u8, 206u8, 126u8, 188u8, 143u8, + 253u8, ], ) } @@ -15247,10 +14898,10 @@ pub mod api { "force_batch", ForceBatch { calls }, [ - 221u8, 22u8, 196u8, 62u8, 193u8, 137u8, 221u8, 234u8, 195u8, - 7u8, 133u8, 191u8, 243u8, 204u8, 109u8, 46u8, 94u8, 254u8, - 31u8, 16u8, 188u8, 65u8, 160u8, 80u8, 58u8, 202u8, 215u8, - 11u8, 99u8, 31u8, 12u8, 66u8, + 221u8, 22u8, 196u8, 62u8, 193u8, 137u8, 221u8, 234u8, 195u8, 7u8, + 133u8, 191u8, 243u8, 204u8, 109u8, 46u8, 94u8, 254u8, 31u8, 16u8, + 188u8, 65u8, 160u8, 80u8, 58u8, 202u8, 215u8, 11u8, 99u8, 31u8, 12u8, + 66u8, ], ) } @@ -15352,8 +15003,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A call was dispatched."] pub struct DispatchedAs { - pub result: - ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, + pub result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, } impl ::subxt::events::StaticEvent for DispatchedAs { const PALLET: &'static str = "Utility"; @@ -15372,10 +15022,10 @@ pub mod api { "Utility", "batched_calls_limit", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -15400,8 +15050,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AddRegistrar { - pub account: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub account: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -15413,9 +15062,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetIdentity { - pub info: ::std::boxed::Box< - runtime_types::pallet_identity::types::IdentityInfo, - >, + pub info: ::std::boxed::Box, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -15528,9 +15175,8 @@ pub mod api { #[codec(compact)] pub reg_index: ::core::primitive::u32, pub target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - pub judgement: runtime_types::pallet_identity::types::Judgement< - ::core::primitive::u128, - >, + pub judgement: + runtime_types::pallet_identity::types::Judgement<::core::primitive::u128>, pub identity: ::subxt::utils::H256, } #[derive( @@ -15610,20 +15256,17 @@ pub mod api { #[doc = "# "] pub fn add_registrar( &self, - account: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + account: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Identity", "add_registrar", AddRegistrar { account }, [ - 157u8, 232u8, 252u8, 190u8, 203u8, 233u8, 127u8, 63u8, 111u8, - 16u8, 118u8, 200u8, 31u8, 234u8, 144u8, 111u8, 161u8, 224u8, - 217u8, 86u8, 179u8, 254u8, 162u8, 212u8, 248u8, 8u8, 125u8, - 89u8, 23u8, 195u8, 4u8, 231u8, + 157u8, 232u8, 252u8, 190u8, 203u8, 233u8, 127u8, 63u8, 111u8, 16u8, + 118u8, 200u8, 31u8, 234u8, 144u8, 111u8, 161u8, 224u8, 217u8, 86u8, + 179u8, 254u8, 162u8, 212u8, 248u8, 8u8, 125u8, 89u8, 23u8, 195u8, 4u8, + 231u8, ], ) } @@ -15657,10 +15300,9 @@ pub mod api { info: ::std::boxed::Box::new(info), }, [ - 130u8, 89u8, 118u8, 6u8, 134u8, 166u8, 35u8, 192u8, 73u8, - 6u8, 171u8, 20u8, 225u8, 255u8, 152u8, 142u8, 111u8, 8u8, - 206u8, 200u8, 64u8, 52u8, 110u8, 123u8, 42u8, 101u8, 191u8, - 242u8, 133u8, 139u8, 154u8, 205u8, + 130u8, 89u8, 118u8, 6u8, 134u8, 166u8, 35u8, 192u8, 73u8, 6u8, 171u8, + 20u8, 225u8, 255u8, 152u8, 142u8, 111u8, 8u8, 206u8, 200u8, 64u8, 52u8, + 110u8, 123u8, 42u8, 101u8, 191u8, 242u8, 133u8, 139u8, 154u8, 205u8, ], ) } @@ -15697,10 +15339,10 @@ pub mod api { "set_subs", SetSubs { subs }, [ - 177u8, 219u8, 84u8, 183u8, 5u8, 32u8, 192u8, 82u8, 174u8, - 68u8, 198u8, 224u8, 56u8, 85u8, 134u8, 171u8, 30u8, 132u8, - 140u8, 236u8, 117u8, 24u8, 150u8, 218u8, 146u8, 194u8, 144u8, - 92u8, 103u8, 206u8, 46u8, 90u8, + 177u8, 219u8, 84u8, 183u8, 5u8, 32u8, 192u8, 82u8, 174u8, 68u8, 198u8, + 224u8, 56u8, 85u8, 134u8, 171u8, 30u8, 132u8, 140u8, 236u8, 117u8, + 24u8, 150u8, 218u8, 146u8, 194u8, 144u8, 92u8, 103u8, 206u8, 46u8, + 90u8, ], ) } @@ -15728,10 +15370,9 @@ pub mod api { "clear_identity", ClearIdentity {}, [ - 75u8, 44u8, 74u8, 122u8, 149u8, 202u8, 114u8, 230u8, 0u8, - 255u8, 140u8, 122u8, 14u8, 196u8, 205u8, 249u8, 220u8, 94u8, - 216u8, 34u8, 63u8, 14u8, 8u8, 205u8, 74u8, 23u8, 181u8, - 129u8, 252u8, 110u8, 231u8, 114u8, + 75u8, 44u8, 74u8, 122u8, 149u8, 202u8, 114u8, 230u8, 0u8, 255u8, 140u8, + 122u8, 14u8, 196u8, 205u8, 249u8, 220u8, 94u8, 216u8, 34u8, 63u8, 14u8, + 8u8, 205u8, 74u8, 23u8, 181u8, 129u8, 252u8, 110u8, 231u8, 114u8, ], ) } @@ -15768,10 +15409,9 @@ pub mod api { "request_judgement", RequestJudgement { reg_index, max_fee }, [ - 186u8, 149u8, 61u8, 54u8, 159u8, 194u8, 77u8, 161u8, 220u8, - 157u8, 3u8, 216u8, 23u8, 105u8, 119u8, 76u8, 144u8, 198u8, - 157u8, 45u8, 235u8, 139u8, 87u8, 82u8, 81u8, 12u8, 25u8, - 134u8, 225u8, 92u8, 182u8, 101u8, + 186u8, 149u8, 61u8, 54u8, 159u8, 194u8, 77u8, 161u8, 220u8, 157u8, 3u8, + 216u8, 23u8, 105u8, 119u8, 76u8, 144u8, 198u8, 157u8, 45u8, 235u8, + 139u8, 87u8, 82u8, 81u8, 12u8, 25u8, 134u8, 225u8, 92u8, 182u8, 101u8, ], ) } @@ -15801,10 +15441,9 @@ pub mod api { "cancel_request", CancelRequest { reg_index }, [ - 83u8, 180u8, 239u8, 126u8, 32u8, 51u8, 17u8, 20u8, 180u8, - 3u8, 59u8, 96u8, 24u8, 32u8, 136u8, 92u8, 58u8, 254u8, 68u8, - 70u8, 50u8, 11u8, 51u8, 91u8, 180u8, 79u8, 81u8, 84u8, 216u8, - 138u8, 6u8, 215u8, + 83u8, 180u8, 239u8, 126u8, 32u8, 51u8, 17u8, 20u8, 180u8, 3u8, 59u8, + 96u8, 24u8, 32u8, 136u8, 92u8, 58u8, 254u8, 68u8, 70u8, 50u8, 11u8, + 51u8, 91u8, 180u8, 79u8, 81u8, 84u8, 216u8, 138u8, 6u8, 215u8, ], ) } @@ -15831,10 +15470,9 @@ pub mod api { "set_fee", SetFee { index, fee }, [ - 21u8, 157u8, 123u8, 182u8, 160u8, 190u8, 117u8, 37u8, 136u8, - 133u8, 104u8, 234u8, 31u8, 145u8, 115u8, 154u8, 125u8, 40u8, - 2u8, 87u8, 118u8, 56u8, 247u8, 73u8, 89u8, 0u8, 251u8, 3u8, - 58u8, 105u8, 239u8, 211u8, + 21u8, 157u8, 123u8, 182u8, 160u8, 190u8, 117u8, 37u8, 136u8, 133u8, + 104u8, 234u8, 31u8, 145u8, 115u8, 154u8, 125u8, 40u8, 2u8, 87u8, 118u8, + 56u8, 247u8, 73u8, 89u8, 0u8, 251u8, 3u8, 58u8, 105u8, 239u8, 211u8, ], ) } @@ -15861,10 +15499,9 @@ pub mod api { "set_account_id", SetAccountId { index, new }, [ - 13u8, 91u8, 36u8, 7u8, 88u8, 64u8, 151u8, 104u8, 94u8, 174u8, - 195u8, 99u8, 97u8, 181u8, 236u8, 251u8, 26u8, 236u8, 234u8, - 40u8, 183u8, 38u8, 220u8, 216u8, 48u8, 115u8, 7u8, 230u8, - 216u8, 28u8, 123u8, 11u8, + 13u8, 91u8, 36u8, 7u8, 88u8, 64u8, 151u8, 104u8, 94u8, 174u8, 195u8, + 99u8, 97u8, 181u8, 236u8, 251u8, 26u8, 236u8, 234u8, 40u8, 183u8, 38u8, + 220u8, 216u8, 48u8, 115u8, 7u8, 230u8, 216u8, 28u8, 123u8, 11u8, ], ) } @@ -15893,10 +15530,9 @@ pub mod api { "set_fields", SetFields { index, fields }, [ - 50u8, 196u8, 179u8, 71u8, 66u8, 65u8, 235u8, 7u8, 51u8, 14u8, - 81u8, 173u8, 201u8, 58u8, 6u8, 151u8, 174u8, 245u8, 102u8, - 184u8, 28u8, 84u8, 125u8, 93u8, 126u8, 134u8, 92u8, 203u8, - 200u8, 129u8, 240u8, 252u8, + 50u8, 196u8, 179u8, 71u8, 66u8, 65u8, 235u8, 7u8, 51u8, 14u8, 81u8, + 173u8, 201u8, 58u8, 6u8, 151u8, 174u8, 245u8, 102u8, 184u8, 28u8, 84u8, + 125u8, 93u8, 126u8, 134u8, 92u8, 203u8, 200u8, 129u8, 240u8, 252u8, ], ) } @@ -15939,10 +15575,9 @@ pub mod api { identity, }, [ - 147u8, 66u8, 29u8, 90u8, 149u8, 65u8, 161u8, 115u8, 12u8, - 254u8, 188u8, 248u8, 165u8, 115u8, 191u8, 2u8, 167u8, 223u8, - 199u8, 169u8, 203u8, 64u8, 101u8, 217u8, 73u8, 185u8, 93u8, - 109u8, 22u8, 184u8, 146u8, 73u8, + 147u8, 66u8, 29u8, 90u8, 149u8, 65u8, 161u8, 115u8, 12u8, 254u8, 188u8, + 248u8, 165u8, 115u8, 191u8, 2u8, 167u8, 223u8, 199u8, 169u8, 203u8, + 64u8, 101u8, 217u8, 73u8, 185u8, 93u8, 109u8, 22u8, 184u8, 146u8, 73u8, ], ) } @@ -15974,10 +15609,10 @@ pub mod api { "kill_identity", KillIdentity { target }, [ - 76u8, 13u8, 158u8, 219u8, 221u8, 0u8, 151u8, 241u8, 137u8, - 136u8, 179u8, 194u8, 188u8, 230u8, 56u8, 16u8, 254u8, 28u8, - 127u8, 216u8, 205u8, 117u8, 224u8, 121u8, 240u8, 231u8, - 126u8, 181u8, 230u8, 68u8, 13u8, 174u8, + 76u8, 13u8, 158u8, 219u8, 221u8, 0u8, 151u8, 241u8, 137u8, 136u8, + 179u8, 194u8, 188u8, 230u8, 56u8, 16u8, 254u8, 28u8, 127u8, 216u8, + 205u8, 117u8, 224u8, 121u8, 240u8, 231u8, 126u8, 181u8, 230u8, 68u8, + 13u8, 174u8, ], ) } @@ -15998,10 +15633,10 @@ pub mod api { "add_sub", AddSub { sub, data }, [ - 122u8, 218u8, 25u8, 93u8, 33u8, 176u8, 191u8, 254u8, 223u8, - 147u8, 100u8, 135u8, 86u8, 71u8, 47u8, 163u8, 105u8, 222u8, - 162u8, 173u8, 207u8, 182u8, 130u8, 128u8, 214u8, 242u8, - 101u8, 250u8, 242u8, 24u8, 17u8, 84u8, + 122u8, 218u8, 25u8, 93u8, 33u8, 176u8, 191u8, 254u8, 223u8, 147u8, + 100u8, 135u8, 86u8, 71u8, 47u8, 163u8, 105u8, 222u8, 162u8, 173u8, + 207u8, 182u8, 130u8, 128u8, 214u8, 242u8, 101u8, 250u8, 242u8, 24u8, + 17u8, 84u8, ], ) } @@ -16019,10 +15654,10 @@ pub mod api { "rename_sub", RenameSub { sub, data }, [ - 166u8, 167u8, 49u8, 114u8, 199u8, 168u8, 187u8, 221u8, 100u8, - 85u8, 147u8, 211u8, 157u8, 31u8, 109u8, 135u8, 194u8, 135u8, - 15u8, 89u8, 59u8, 57u8, 252u8, 163u8, 9u8, 138u8, 216u8, - 189u8, 177u8, 42u8, 96u8, 34u8, + 166u8, 167u8, 49u8, 114u8, 199u8, 168u8, 187u8, 221u8, 100u8, 85u8, + 147u8, 211u8, 157u8, 31u8, 109u8, 135u8, 194u8, 135u8, 15u8, 89u8, + 59u8, 57u8, 252u8, 163u8, 9u8, 138u8, 216u8, 189u8, 177u8, 42u8, 96u8, + 34u8, ], ) } @@ -16042,10 +15677,10 @@ pub mod api { "remove_sub", RemoveSub { sub }, [ - 106u8, 223u8, 210u8, 67u8, 54u8, 11u8, 144u8, 222u8, 42u8, - 46u8, 157u8, 33u8, 13u8, 245u8, 166u8, 195u8, 227u8, 81u8, - 224u8, 149u8, 154u8, 158u8, 187u8, 203u8, 215u8, 91u8, 43u8, - 105u8, 69u8, 213u8, 141u8, 124u8, + 106u8, 223u8, 210u8, 67u8, 54u8, 11u8, 144u8, 222u8, 42u8, 46u8, 157u8, + 33u8, 13u8, 245u8, 166u8, 195u8, 227u8, 81u8, 224u8, 149u8, 154u8, + 158u8, 187u8, 203u8, 215u8, 91u8, 43u8, 105u8, 69u8, 213u8, 141u8, + 124u8, ], ) } @@ -16065,10 +15700,9 @@ pub mod api { "quit_sub", QuitSub {}, [ - 62u8, 57u8, 73u8, 72u8, 119u8, 216u8, 250u8, 155u8, 57u8, - 169u8, 157u8, 44u8, 87u8, 51u8, 63u8, 231u8, 77u8, 7u8, 0u8, - 119u8, 244u8, 42u8, 179u8, 51u8, 254u8, 240u8, 55u8, 25u8, - 142u8, 38u8, 87u8, 44u8, + 62u8, 57u8, 73u8, 72u8, 119u8, 216u8, 250u8, 155u8, 57u8, 169u8, 157u8, + 44u8, 87u8, 51u8, 63u8, 231u8, 77u8, 7u8, 0u8, 119u8, 244u8, 42u8, + 179u8, 51u8, 254u8, 240u8, 55u8, 25u8, 142u8, 38u8, 87u8, 44u8, ], ) } @@ -16274,9 +15908,7 @@ pub mod api { _0: impl ::std::borrow::Borrow<::subxt::utils::AccountId32>, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::pallet_identity::types::Registration< - ::core::primitive::u128, - >, + runtime_types::pallet_identity::types::Registration<::core::primitive::u128>, ::subxt::storage::address::Yes, (), ::subxt::storage::address::Yes, @@ -16284,14 +15916,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Identity", "IdentityOf", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 193u8, 195u8, 180u8, 188u8, 129u8, 250u8, 180u8, 219u8, 22u8, - 95u8, 175u8, 170u8, 143u8, 188u8, 80u8, 124u8, 234u8, 228u8, - 245u8, 39u8, 72u8, 153u8, 107u8, 199u8, 23u8, 75u8, 47u8, - 247u8, 104u8, 208u8, 171u8, 82u8, + 193u8, 195u8, 180u8, 188u8, 129u8, 250u8, 180u8, 219u8, 22u8, 95u8, + 175u8, 170u8, 143u8, 188u8, 80u8, 124u8, 234u8, 228u8, 245u8, 39u8, + 72u8, 153u8, 107u8, 199u8, 23u8, 75u8, 47u8, 247u8, 104u8, 208u8, + 171u8, 82u8, ], ) } @@ -16302,9 +15934,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::pallet_identity::types::Registration< - ::core::primitive::u128, - >, + runtime_types::pallet_identity::types::Registration<::core::primitive::u128>, (), (), ::subxt::storage::address::Yes, @@ -16314,10 +15944,10 @@ pub mod api { "IdentityOf", Vec::new(), [ - 193u8, 195u8, 180u8, 188u8, 129u8, 250u8, 180u8, 219u8, 22u8, - 95u8, 175u8, 170u8, 143u8, 188u8, 80u8, 124u8, 234u8, 228u8, - 245u8, 39u8, 72u8, 153u8, 107u8, 199u8, 23u8, 75u8, 47u8, - 247u8, 104u8, 208u8, 171u8, 82u8, + 193u8, 195u8, 180u8, 188u8, 129u8, 250u8, 180u8, 219u8, 22u8, 95u8, + 175u8, 170u8, 143u8, 188u8, 80u8, 124u8, 234u8, 228u8, 245u8, 39u8, + 72u8, 153u8, 107u8, 199u8, 23u8, 75u8, 47u8, 247u8, 104u8, 208u8, + 171u8, 82u8, ], ) } @@ -16339,14 +15969,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Identity", "SuperOf", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 170u8, 249u8, 112u8, 249u8, 75u8, 176u8, 21u8, 29u8, 152u8, - 149u8, 69u8, 113u8, 20u8, 92u8, 113u8, 130u8, 135u8, 62u8, - 18u8, 204u8, 166u8, 193u8, 133u8, 167u8, 248u8, 117u8, 80u8, - 137u8, 158u8, 111u8, 100u8, 137u8, + 170u8, 249u8, 112u8, 249u8, 75u8, 176u8, 21u8, 29u8, 152u8, 149u8, + 69u8, 113u8, 20u8, 92u8, 113u8, 130u8, 135u8, 62u8, 18u8, 204u8, 166u8, + 193u8, 133u8, 167u8, 248u8, 117u8, 80u8, 137u8, 158u8, 111u8, 100u8, + 137u8, ], ) } @@ -16369,10 +15999,10 @@ pub mod api { "SuperOf", Vec::new(), [ - 170u8, 249u8, 112u8, 249u8, 75u8, 176u8, 21u8, 29u8, 152u8, - 149u8, 69u8, 113u8, 20u8, 92u8, 113u8, 130u8, 135u8, 62u8, - 18u8, 204u8, 166u8, 193u8, 133u8, 167u8, 248u8, 117u8, 80u8, - 137u8, 158u8, 111u8, 100u8, 137u8, + 170u8, 249u8, 112u8, 249u8, 75u8, 176u8, 21u8, 29u8, 152u8, 149u8, + 69u8, 113u8, 20u8, 92u8, 113u8, 130u8, 135u8, 62u8, 18u8, 204u8, 166u8, + 193u8, 133u8, 167u8, 248u8, 117u8, 80u8, 137u8, 158u8, 111u8, 100u8, + 137u8, ], ) } @@ -16399,14 +16029,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Identity", "SubsOf", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 128u8, 15u8, 175u8, 155u8, 216u8, 225u8, 200u8, 169u8, 215u8, - 206u8, 110u8, 22u8, 204u8, 89u8, 212u8, 210u8, 159u8, 169u8, - 53u8, 7u8, 44u8, 164u8, 91u8, 151u8, 7u8, 227u8, 38u8, 230u8, - 175u8, 84u8, 6u8, 4u8, + 128u8, 15u8, 175u8, 155u8, 216u8, 225u8, 200u8, 169u8, 215u8, 206u8, + 110u8, 22u8, 204u8, 89u8, 212u8, 210u8, 159u8, 169u8, 53u8, 7u8, 44u8, + 164u8, 91u8, 151u8, 7u8, 227u8, 38u8, 230u8, 175u8, 84u8, 6u8, 4u8, ], ) } @@ -16434,10 +16063,9 @@ pub mod api { "SubsOf", Vec::new(), [ - 128u8, 15u8, 175u8, 155u8, 216u8, 225u8, 200u8, 169u8, 215u8, - 206u8, 110u8, 22u8, 204u8, 89u8, 212u8, 210u8, 159u8, 169u8, - 53u8, 7u8, 44u8, 164u8, 91u8, 151u8, 7u8, 227u8, 38u8, 230u8, - 175u8, 84u8, 6u8, 4u8, + 128u8, 15u8, 175u8, 155u8, 216u8, 225u8, 200u8, 169u8, 215u8, 206u8, + 110u8, 22u8, 204u8, 89u8, 212u8, 210u8, 159u8, 169u8, 53u8, 7u8, 44u8, + 164u8, 91u8, 151u8, 7u8, 227u8, 38u8, 230u8, 175u8, 84u8, 6u8, 4u8, ], ) } @@ -16466,10 +16094,9 @@ pub mod api { "Registrars", vec![], [ - 157u8, 87u8, 39u8, 240u8, 154u8, 54u8, 241u8, 229u8, 76u8, - 9u8, 62u8, 252u8, 40u8, 143u8, 186u8, 182u8, 233u8, 187u8, - 251u8, 61u8, 236u8, 229u8, 19u8, 55u8, 42u8, 36u8, 82u8, - 173u8, 215u8, 155u8, 229u8, 111u8, + 157u8, 87u8, 39u8, 240u8, 154u8, 54u8, 241u8, 229u8, 76u8, 9u8, 62u8, + 252u8, 40u8, 143u8, 186u8, 182u8, 233u8, 187u8, 251u8, 61u8, 236u8, + 229u8, 19u8, 55u8, 42u8, 36u8, 82u8, 173u8, 215u8, 155u8, 229u8, 111u8, ], ) } @@ -16482,32 +16109,28 @@ pub mod api { #[doc = " The amount held on deposit for a registered identity"] pub fn basic_deposit( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Identity", "BasicDeposit", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } #[doc = " The amount held on deposit per additional field for a registered identity."] pub fn field_deposit( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Identity", "FieldDeposit", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -16516,16 +16139,14 @@ pub mod api { #[doc = " be another trie item whose value is the size of an account ID plus 32 bytes."] pub fn sub_account_deposit( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Identity", "SubAccountDeposit", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -16537,10 +16158,10 @@ pub mod api { "Identity", "MaxSubAccounts", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -16553,10 +16174,10 @@ pub mod api { "Identity", "MaxAdditionalFields", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -16569,10 +16190,10 @@ pub mod api { "Identity", "MaxRegistrars", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -16612,8 +16233,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AddProxy { - pub delegate: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, pub proxy_type: runtime_types::polkadot_runtime::ProxyType, pub delay: ::core::primitive::u32, } @@ -16627,8 +16247,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RemoveProxy { - pub delegate: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, pub proxy_type: runtime_types::polkadot_runtime::ProxyType, pub delay: ::core::primitive::u32, } @@ -16666,8 +16285,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct KillPure { - pub spawner: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub spawner: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, pub proxy_type: runtime_types::polkadot_runtime::ProxyType, pub index: ::core::primitive::u16, #[codec(compact)] @@ -16711,8 +16329,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RejectAnnouncement { - pub delegate: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, pub call_hash: ::subxt::utils::H256, } #[derive( @@ -16725,8 +16342,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ProxyAnnounced { - pub delegate: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, pub real: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, pub force_proxy_type: ::core::option::Option, @@ -16762,10 +16378,9 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 2u8, 110u8, 54u8, 249u8, 204u8, 49u8, 0u8, 174u8, 55u8, 97u8, - 168u8, 240u8, 133u8, 33u8, 119u8, 57u8, 207u8, 107u8, 9u8, - 58u8, 91u8, 16u8, 97u8, 49u8, 136u8, 119u8, 180u8, 187u8, - 105u8, 150u8, 228u8, 140u8, + 2u8, 110u8, 54u8, 249u8, 204u8, 49u8, 0u8, 174u8, 55u8, 97u8, 168u8, + 240u8, 133u8, 33u8, 119u8, 57u8, 207u8, 107u8, 9u8, 58u8, 91u8, 16u8, + 97u8, 49u8, 136u8, 119u8, 180u8, 187u8, 105u8, 150u8, 228u8, 140u8, ], ) } @@ -16780,10 +16395,7 @@ pub mod api { #[doc = "zero."] pub fn add_proxy( &self, - delegate: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, proxy_type: runtime_types::polkadot_runtime::ProxyType, delay: ::core::primitive::u32, ) -> ::subxt::tx::Payload { @@ -16796,10 +16408,10 @@ pub mod api { delay, }, [ - 4u8, 227u8, 81u8, 178u8, 130u8, 182u8, 247u8, 112u8, 127u8, - 90u8, 105u8, 143u8, 65u8, 137u8, 181u8, 63u8, 204u8, 92u8, - 140u8, 38u8, 153u8, 233u8, 186u8, 226u8, 8u8, 76u8, 228u8, - 206u8, 174u8, 54u8, 23u8, 238u8, + 4u8, 227u8, 81u8, 178u8, 130u8, 182u8, 247u8, 112u8, 127u8, 90u8, + 105u8, 143u8, 65u8, 137u8, 181u8, 63u8, 204u8, 92u8, 140u8, 38u8, + 153u8, 233u8, 186u8, 226u8, 8u8, 76u8, 228u8, 206u8, 174u8, 54u8, 23u8, + 238u8, ], ) } @@ -16812,10 +16424,7 @@ pub mod api { #[doc = "- `proxy_type`: The permissions currently enabled for the removed proxy account."] pub fn remove_proxy( &self, - delegate: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, proxy_type: runtime_types::polkadot_runtime::ProxyType, delay: ::core::primitive::u32, ) -> ::subxt::tx::Payload { @@ -16828,10 +16437,10 @@ pub mod api { delay, }, [ - 227u8, 7u8, 240u8, 130u8, 4u8, 168u8, 145u8, 107u8, 6u8, - 146u8, 138u8, 235u8, 245u8, 178u8, 168u8, 85u8, 104u8, 133u8, - 28u8, 93u8, 232u8, 99u8, 163u8, 75u8, 100u8, 113u8, 40u8, - 16u8, 238u8, 123u8, 169u8, 218u8, + 227u8, 7u8, 240u8, 130u8, 4u8, 168u8, 145u8, 107u8, 6u8, 146u8, 138u8, + 235u8, 245u8, 178u8, 168u8, 85u8, 104u8, 133u8, 28u8, 93u8, 232u8, + 99u8, 163u8, 75u8, 100u8, 113u8, 40u8, 16u8, 238u8, 123u8, 169u8, + 218u8, ], ) } @@ -16847,10 +16456,9 @@ pub mod api { "remove_proxies", RemoveProxies {}, [ - 15u8, 237u8, 27u8, 166u8, 254u8, 218u8, 92u8, 5u8, 213u8, - 239u8, 99u8, 59u8, 1u8, 26u8, 73u8, 252u8, 81u8, 94u8, 214u8, - 227u8, 169u8, 58u8, 40u8, 253u8, 187u8, 225u8, 192u8, 26u8, - 19u8, 23u8, 121u8, 129u8, + 15u8, 237u8, 27u8, 166u8, 254u8, 218u8, 92u8, 5u8, 213u8, 239u8, 99u8, + 59u8, 1u8, 26u8, 73u8, 252u8, 81u8, 94u8, 214u8, 227u8, 169u8, 58u8, + 40u8, 253u8, 187u8, 225u8, 192u8, 26u8, 19u8, 23u8, 121u8, 129u8, ], ) } @@ -16887,10 +16495,10 @@ pub mod api { index, }, [ - 65u8, 120u8, 166u8, 57u8, 89u8, 119u8, 161u8, 93u8, 184u8, - 203u8, 190u8, 29u8, 64u8, 238u8, 70u8, 17u8, 151u8, 227u8, - 170u8, 84u8, 21u8, 161u8, 171u8, 180u8, 193u8, 175u8, 211u8, - 228u8, 246u8, 216u8, 152u8, 91u8, + 65u8, 120u8, 166u8, 57u8, 89u8, 119u8, 161u8, 93u8, 184u8, 203u8, + 190u8, 29u8, 64u8, 238u8, 70u8, 17u8, 151u8, 227u8, 170u8, 84u8, 21u8, + 161u8, 171u8, 180u8, 193u8, 175u8, 211u8, 228u8, 246u8, 216u8, 152u8, + 91u8, ], ) } @@ -16912,10 +16520,7 @@ pub mod api { #[doc = "account whose `pure` call has corresponding parameters."] pub fn kill_pure( &self, - spawner: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + spawner: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, proxy_type: runtime_types::polkadot_runtime::ProxyType, index: ::core::primitive::u16, height: ::core::primitive::u32, @@ -16932,10 +16537,9 @@ pub mod api { ext_index, }, [ - 67u8, 233u8, 31u8, 138u8, 222u8, 70u8, 182u8, 77u8, 103u8, - 39u8, 195u8, 35u8, 39u8, 89u8, 50u8, 248u8, 187u8, 101u8, - 170u8, 188u8, 87u8, 143u8, 6u8, 180u8, 178u8, 181u8, 158u8, - 111u8, 19u8, 139u8, 222u8, 208u8, + 67u8, 233u8, 31u8, 138u8, 222u8, 70u8, 182u8, 77u8, 103u8, 39u8, 195u8, + 35u8, 39u8, 89u8, 50u8, 248u8, 187u8, 101u8, 170u8, 188u8, 87u8, 143u8, + 6u8, 180u8, 178u8, 181u8, 158u8, 111u8, 19u8, 139u8, 222u8, 208u8, ], ) } @@ -16964,10 +16568,10 @@ pub mod api { "announce", Announce { real, call_hash }, [ - 235u8, 116u8, 208u8, 53u8, 128u8, 91u8, 100u8, 68u8, 255u8, - 254u8, 119u8, 253u8, 108u8, 130u8, 88u8, 56u8, 113u8, 99u8, - 105u8, 179u8, 16u8, 143u8, 131u8, 203u8, 234u8, 76u8, 199u8, - 191u8, 35u8, 158u8, 130u8, 209u8, + 235u8, 116u8, 208u8, 53u8, 128u8, 91u8, 100u8, 68u8, 255u8, 254u8, + 119u8, 253u8, 108u8, 130u8, 88u8, 56u8, 113u8, 99u8, 105u8, 179u8, + 16u8, 143u8, 131u8, 203u8, 234u8, 76u8, 199u8, 191u8, 35u8, 158u8, + 130u8, 209u8, ], ) } @@ -16991,10 +16595,10 @@ pub mod api { "remove_announcement", RemoveAnnouncement { real, call_hash }, [ - 140u8, 186u8, 140u8, 129u8, 40u8, 124u8, 57u8, 61u8, 84u8, - 247u8, 123u8, 241u8, 148u8, 15u8, 94u8, 146u8, 121u8, 78u8, - 190u8, 68u8, 185u8, 125u8, 62u8, 49u8, 108u8, 131u8, 229u8, - 82u8, 68u8, 37u8, 184u8, 223u8, + 140u8, 186u8, 140u8, 129u8, 40u8, 124u8, 57u8, 61u8, 84u8, 247u8, + 123u8, 241u8, 148u8, 15u8, 94u8, 146u8, 121u8, 78u8, 190u8, 68u8, + 185u8, 125u8, 62u8, 49u8, 108u8, 131u8, 229u8, 82u8, 68u8, 37u8, 184u8, + 223u8, ], ) } @@ -17010,10 +16614,7 @@ pub mod api { #[doc = "- `call_hash`: The hash of the call to be made."] pub fn reject_announcement( &self, - delegate: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, call_hash: ::subxt::utils::H256, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( @@ -17024,10 +16625,10 @@ pub mod api { call_hash, }, [ - 225u8, 198u8, 31u8, 173u8, 157u8, 141u8, 121u8, 51u8, 226u8, - 170u8, 219u8, 86u8, 14u8, 131u8, 122u8, 157u8, 161u8, 200u8, - 157u8, 37u8, 43u8, 97u8, 143u8, 97u8, 46u8, 206u8, 204u8, - 42u8, 78u8, 33u8, 85u8, 127u8, + 225u8, 198u8, 31u8, 173u8, 157u8, 141u8, 121u8, 51u8, 226u8, 170u8, + 219u8, 86u8, 14u8, 131u8, 122u8, 157u8, 161u8, 200u8, 157u8, 37u8, + 43u8, 97u8, 143u8, 97u8, 46u8, 206u8, 204u8, 42u8, 78u8, 33u8, 85u8, + 127u8, ], ) } @@ -17044,10 +16645,7 @@ pub mod api { #[doc = "- `call`: The call to be made by the `real` account."] pub fn proxy_announced( &self, - delegate: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, real: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, force_proxy_type: ::core::option::Option< runtime_types::polkadot_runtime::ProxyType, @@ -17064,10 +16662,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 201u8, 208u8, 101u8, 152u8, 52u8, 146u8, 71u8, 255u8, 2u8, - 250u8, 225u8, 24u8, 117u8, 32u8, 113u8, 251u8, 230u8, 233u8, - 30u8, 187u8, 194u8, 116u8, 65u8, 51u8, 142u8, 106u8, 91u8, - 178u8, 193u8, 170u8, 150u8, 118u8, + 201u8, 208u8, 101u8, 152u8, 52u8, 146u8, 71u8, 255u8, 2u8, 250u8, + 225u8, 24u8, 117u8, 32u8, 113u8, 251u8, 230u8, 233u8, 30u8, 187u8, + 194u8, 116u8, 65u8, 51u8, 142u8, 106u8, 91u8, 178u8, 193u8, 170u8, + 150u8, 118u8, ], ) } @@ -17088,8 +16686,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A proxy was executed correctly, with the given."] pub struct ProxyExecuted { - pub result: - ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, + pub result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, } impl ::subxt::events::StaticEvent for ProxyExecuted { const PALLET: &'static str = "Proxy"; @@ -17204,14 +16801,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Proxy", "Proxies", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 106u8, 101u8, 77u8, 184u8, 193u8, 162u8, 132u8, 209u8, 130u8, - 70u8, 249u8, 183u8, 78u8, 52u8, 153u8, 120u8, 84u8, 224u8, - 233u8, 37u8, 171u8, 192u8, 99u8, 31u8, 49u8, 43u8, 126u8, - 67u8, 161u8, 103u8, 248u8, 14u8, + 106u8, 101u8, 77u8, 184u8, 193u8, 162u8, 132u8, 209u8, 130u8, 70u8, + 249u8, 183u8, 78u8, 52u8, 153u8, 120u8, 84u8, 224u8, 233u8, 37u8, + 171u8, 192u8, 99u8, 31u8, 49u8, 43u8, 126u8, 67u8, 161u8, 103u8, 248u8, + 14u8, ], ) } @@ -17240,10 +16837,10 @@ pub mod api { "Proxies", Vec::new(), [ - 106u8, 101u8, 77u8, 184u8, 193u8, 162u8, 132u8, 209u8, 130u8, - 70u8, 249u8, 183u8, 78u8, 52u8, 153u8, 120u8, 84u8, 224u8, - 233u8, 37u8, 171u8, 192u8, 99u8, 31u8, 49u8, 43u8, 126u8, - 67u8, 161u8, 103u8, 248u8, 14u8, + 106u8, 101u8, 77u8, 184u8, 193u8, 162u8, 132u8, 209u8, 130u8, 70u8, + 249u8, 183u8, 78u8, 52u8, 153u8, 120u8, 84u8, 224u8, 233u8, 37u8, + 171u8, 192u8, 99u8, 31u8, 49u8, 43u8, 126u8, 67u8, 161u8, 103u8, 248u8, + 14u8, ], ) } @@ -17270,14 +16867,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Proxy", "Announcements", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 233u8, 38u8, 249u8, 89u8, 103u8, 87u8, 64u8, 52u8, 140u8, - 228u8, 110u8, 37u8, 8u8, 92u8, 48u8, 7u8, 46u8, 99u8, 179u8, - 83u8, 232u8, 171u8, 160u8, 45u8, 37u8, 23u8, 151u8, 198u8, - 237u8, 103u8, 217u8, 53u8, + 233u8, 38u8, 249u8, 89u8, 103u8, 87u8, 64u8, 52u8, 140u8, 228u8, 110u8, + 37u8, 8u8, 92u8, 48u8, 7u8, 46u8, 99u8, 179u8, 83u8, 232u8, 171u8, + 160u8, 45u8, 37u8, 23u8, 151u8, 198u8, 237u8, 103u8, 217u8, 53u8, ], ) } @@ -17305,10 +16901,9 @@ pub mod api { "Announcements", Vec::new(), [ - 233u8, 38u8, 249u8, 89u8, 103u8, 87u8, 64u8, 52u8, 140u8, - 228u8, 110u8, 37u8, 8u8, 92u8, 48u8, 7u8, 46u8, 99u8, 179u8, - 83u8, 232u8, 171u8, 160u8, 45u8, 37u8, 23u8, 151u8, 198u8, - 237u8, 103u8, 217u8, 53u8, + 233u8, 38u8, 249u8, 89u8, 103u8, 87u8, 64u8, 52u8, 140u8, 228u8, 110u8, + 37u8, 8u8, 92u8, 48u8, 7u8, 46u8, 99u8, 179u8, 83u8, 232u8, 171u8, + 160u8, 45u8, 37u8, 23u8, 151u8, 198u8, 237u8, 103u8, 217u8, 53u8, ], ) } @@ -17324,16 +16919,14 @@ pub mod api { #[doc = " `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes."] pub fn proxy_deposit_base( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Proxy", "ProxyDepositBase", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -17344,46 +16937,40 @@ pub mod api { #[doc = " into account `32 + proxy_type.encode().len()` bytes of data."] pub fn proxy_deposit_factor( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Proxy", "ProxyDepositFactor", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } #[doc = " The maximum amount of proxies allowed for a single account."] - pub fn max_proxies( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn max_proxies(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Proxy", "MaxProxies", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " The maximum amount of time-delayed announcements that are allowed to be pending."] - pub fn max_pending( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn max_pending(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Proxy", "MaxPending", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -17393,16 +16980,14 @@ pub mod api { #[doc = " bytes)."] pub fn announcement_deposit_base( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Proxy", "AnnouncementDepositBase", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -17412,16 +16997,14 @@ pub mod api { #[doc = " into a pre-existing storage value."] pub fn announcement_deposit_factor( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Proxy", "AnnouncementDepositFactor", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -17497,8 +17080,7 @@ pub mod api { pub struct CancelAsMulti { pub threshold: ::core::primitive::u16, pub other_signatories: ::std::vec::Vec<::subxt::utils::AccountId32>, - pub timepoint: - runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, + pub timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, pub call_hash: [::core::primitive::u8; 32usize], } pub struct TransactionApi; @@ -17532,10 +17114,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 147u8, 128u8, 190u8, 162u8, 129u8, 151u8, 240u8, 184u8, 12u8, - 100u8, 188u8, 81u8, 25u8, 140u8, 46u8, 215u8, 52u8, 135u8, - 134u8, 207u8, 40u8, 221u8, 114u8, 48u8, 102u8, 107u8, 173u8, - 90u8, 74u8, 56u8, 147u8, 238u8, + 147u8, 128u8, 190u8, 162u8, 129u8, 151u8, 240u8, 184u8, 12u8, 100u8, + 188u8, 81u8, 25u8, 140u8, 46u8, 215u8, 52u8, 135u8, 134u8, 207u8, 40u8, + 221u8, 114u8, 48u8, 102u8, 107u8, 173u8, 90u8, 74u8, 56u8, 147u8, + 238u8, ], ) } @@ -17605,10 +17187,9 @@ pub mod api { max_weight, }, [ - 223u8, 45u8, 132u8, 89u8, 48u8, 61u8, 93u8, 46u8, 76u8, 28u8, - 217u8, 194u8, 89u8, 170u8, 245u8, 6u8, 76u8, 50u8, 12u8, - 133u8, 230u8, 10u8, 56u8, 231u8, 29u8, 202u8, 60u8, 50u8, - 181u8, 144u8, 238u8, 151u8, + 223u8, 45u8, 132u8, 89u8, 48u8, 61u8, 93u8, 46u8, 76u8, 28u8, 217u8, + 194u8, 89u8, 170u8, 245u8, 6u8, 76u8, 50u8, 12u8, 133u8, 230u8, 10u8, + 56u8, 231u8, 29u8, 202u8, 60u8, 50u8, 181u8, 144u8, 238u8, 151u8, ], ) } @@ -17668,10 +17249,10 @@ pub mod api { max_weight, }, [ - 133u8, 113u8, 121u8, 66u8, 218u8, 219u8, 48u8, 64u8, 211u8, - 114u8, 163u8, 193u8, 164u8, 21u8, 140u8, 218u8, 253u8, 237u8, - 240u8, 126u8, 200u8, 213u8, 184u8, 50u8, 187u8, 182u8, 30u8, - 52u8, 142u8, 72u8, 210u8, 101u8, + 133u8, 113u8, 121u8, 66u8, 218u8, 219u8, 48u8, 64u8, 211u8, 114u8, + 163u8, 193u8, 164u8, 21u8, 140u8, 218u8, 253u8, 237u8, 240u8, 126u8, + 200u8, 213u8, 184u8, 50u8, 187u8, 182u8, 30u8, 52u8, 142u8, 72u8, + 210u8, 101u8, ], ) } @@ -17705,9 +17286,7 @@ pub mod api { &self, threshold: ::core::primitive::u16, other_signatories: ::std::vec::Vec<::subxt::utils::AccountId32>, - timepoint: runtime_types::pallet_multisig::Timepoint< - ::core::primitive::u32, - >, + timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, call_hash: [::core::primitive::u8; 32usize], ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( @@ -17720,10 +17299,9 @@ pub mod api { call_hash, }, [ - 30u8, 25u8, 186u8, 142u8, 168u8, 81u8, 235u8, 164u8, 82u8, - 209u8, 66u8, 129u8, 209u8, 78u8, 172u8, 9u8, 163u8, 222u8, - 125u8, 57u8, 2u8, 43u8, 169u8, 174u8, 159u8, 167u8, 25u8, - 226u8, 254u8, 110u8, 80u8, 216u8, + 30u8, 25u8, 186u8, 142u8, 168u8, 81u8, 235u8, 164u8, 82u8, 209u8, 66u8, + 129u8, 209u8, 78u8, 172u8, 9u8, 163u8, 222u8, 125u8, 57u8, 2u8, 43u8, + 169u8, 174u8, 159u8, 167u8, 25u8, 226u8, 254u8, 110u8, 80u8, 216u8, ], ) } @@ -17764,8 +17342,7 @@ pub mod api { #[doc = "A multisig operation has been approved by someone."] pub struct MultisigApproval { pub approving: ::subxt::utils::AccountId32, - pub timepoint: - runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, + pub timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, pub multisig: ::subxt::utils::AccountId32, pub call_hash: [::core::primitive::u8; 32usize], } @@ -17785,12 +17362,10 @@ pub mod api { #[doc = "A multisig operation has been executed."] pub struct MultisigExecuted { pub approving: ::subxt::utils::AccountId32, - pub timepoint: - runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, + pub timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, pub multisig: ::subxt::utils::AccountId32, pub call_hash: [::core::primitive::u8; 32usize], - pub result: - ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, + pub result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, } impl ::subxt::events::StaticEvent for MultisigExecuted { const PALLET: &'static str = "Multisig"; @@ -17808,8 +17383,7 @@ pub mod api { #[doc = "A multisig operation has been cancelled."] pub struct MultisigCancelled { pub cancelling: ::subxt::utils::AccountId32, - pub timepoint: - runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, + pub timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, pub multisig: ::subxt::utils::AccountId32, pub call_hash: [::core::primitive::u8; 32usize], } @@ -17842,18 +17416,13 @@ pub mod api { "Multisig", "Multisigs", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 69u8, 153u8, 186u8, 204u8, 117u8, 95u8, 119u8, 182u8, 220u8, - 87u8, 8u8, 15u8, 123u8, 83u8, 5u8, 188u8, 115u8, 121u8, - 163u8, 96u8, 218u8, 3u8, 106u8, 44u8, 44u8, 187u8, 46u8, - 238u8, 80u8, 203u8, 175u8, 155u8, + 69u8, 153u8, 186u8, 204u8, 117u8, 95u8, 119u8, 182u8, 220u8, 87u8, 8u8, + 15u8, 123u8, 83u8, 5u8, 188u8, 115u8, 121u8, 163u8, 96u8, 218u8, 3u8, + 106u8, 44u8, 44u8, 187u8, 46u8, 238u8, 80u8, 203u8, 175u8, 155u8, ], ) } @@ -17876,10 +17445,9 @@ pub mod api { "Multisigs", Vec::new(), [ - 69u8, 153u8, 186u8, 204u8, 117u8, 95u8, 119u8, 182u8, 220u8, - 87u8, 8u8, 15u8, 123u8, 83u8, 5u8, 188u8, 115u8, 121u8, - 163u8, 96u8, 218u8, 3u8, 106u8, 44u8, 44u8, 187u8, 46u8, - 238u8, 80u8, 203u8, 175u8, 155u8, + 69u8, 153u8, 186u8, 204u8, 117u8, 95u8, 119u8, 182u8, 220u8, 87u8, 8u8, + 15u8, 123u8, 83u8, 5u8, 188u8, 115u8, 121u8, 163u8, 96u8, 218u8, 3u8, + 106u8, 44u8, 44u8, 187u8, 46u8, 238u8, 80u8, 203u8, 175u8, 155u8, ], ) } @@ -17895,18 +17463,14 @@ pub mod api { #[doc = " This is held for an additional storage item whose value size is"] #[doc = " `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is"] #[doc = " `32 + sizeof(AccountId)` bytes."] - pub fn deposit_base( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + pub fn deposit_base(&self) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Multisig", "DepositBase", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -17915,16 +17479,14 @@ pub mod api { #[doc = " This is held for adding 32 bytes more into a pre-existing storage value."] pub fn deposit_factor( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Multisig", "DepositFactor", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -17936,10 +17498,10 @@ pub mod api { "Multisig", "MaxSignatories", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -17993,8 +17555,7 @@ pub mod api { pub struct ProposeCurator { #[codec(compact)] pub bounty_id: ::core::primitive::u32, - pub curator: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub curator: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] pub fee: ::core::primitive::u128, } @@ -18036,8 +17597,7 @@ pub mod api { pub struct AwardBounty { #[codec(compact)] pub bounty_id: ::core::primitive::u32, - pub beneficiary: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -18103,10 +17663,10 @@ pub mod api { "propose_bounty", ProposeBounty { value, description }, [ - 99u8, 160u8, 94u8, 74u8, 105u8, 161u8, 123u8, 239u8, 241u8, - 117u8, 97u8, 99u8, 84u8, 101u8, 87u8, 3u8, 88u8, 175u8, 75u8, - 59u8, 114u8, 87u8, 18u8, 113u8, 126u8, 26u8, 42u8, 104u8, - 201u8, 128u8, 102u8, 219u8, + 99u8, 160u8, 94u8, 74u8, 105u8, 161u8, 123u8, 239u8, 241u8, 117u8, + 97u8, 99u8, 84u8, 101u8, 87u8, 3u8, 88u8, 175u8, 75u8, 59u8, 114u8, + 87u8, 18u8, 113u8, 126u8, 26u8, 42u8, 104u8, 201u8, 128u8, 102u8, + 219u8, ], ) } @@ -18127,10 +17687,9 @@ pub mod api { "approve_bounty", ApproveBounty { bounty_id }, [ - 82u8, 228u8, 232u8, 103u8, 198u8, 173u8, 190u8, 148u8, 159u8, - 86u8, 48u8, 4u8, 32u8, 169u8, 1u8, 129u8, 96u8, 145u8, 235u8, - 68u8, 48u8, 34u8, 5u8, 1u8, 76u8, 26u8, 100u8, 228u8, 92u8, - 198u8, 183u8, 173u8, + 82u8, 228u8, 232u8, 103u8, 198u8, 173u8, 190u8, 148u8, 159u8, 86u8, + 48u8, 4u8, 32u8, 169u8, 1u8, 129u8, 96u8, 145u8, 235u8, 68u8, 48u8, + 34u8, 5u8, 1u8, 76u8, 26u8, 100u8, 228u8, 92u8, 198u8, 183u8, 173u8, ], ) } @@ -18144,10 +17703,7 @@ pub mod api { pub fn propose_curator( &self, bounty_id: ::core::primitive::u32, - curator: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + curator: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, fee: ::core::primitive::u128, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( @@ -18159,10 +17715,10 @@ pub mod api { fee, }, [ - 123u8, 148u8, 21u8, 204u8, 216u8, 6u8, 47u8, 83u8, 182u8, - 30u8, 171u8, 48u8, 193u8, 200u8, 197u8, 147u8, 111u8, 88u8, - 14u8, 242u8, 66u8, 175u8, 241u8, 208u8, 95u8, 151u8, 41u8, - 46u8, 213u8, 188u8, 65u8, 196u8, + 123u8, 148u8, 21u8, 204u8, 216u8, 6u8, 47u8, 83u8, 182u8, 30u8, 171u8, + 48u8, 193u8, 200u8, 197u8, 147u8, 111u8, 88u8, 14u8, 242u8, 66u8, + 175u8, 241u8, 208u8, 95u8, 151u8, 41u8, 46u8, 213u8, 188u8, 65u8, + 196u8, ], ) } @@ -18193,10 +17749,10 @@ pub mod api { "unassign_curator", UnassignCurator { bounty_id }, [ - 218u8, 241u8, 247u8, 89u8, 95u8, 120u8, 93u8, 18u8, 85u8, - 114u8, 158u8, 254u8, 68u8, 77u8, 230u8, 186u8, 230u8, 201u8, - 63u8, 223u8, 28u8, 173u8, 244u8, 82u8, 113u8, 177u8, 99u8, - 27u8, 207u8, 247u8, 207u8, 213u8, + 218u8, 241u8, 247u8, 89u8, 95u8, 120u8, 93u8, 18u8, 85u8, 114u8, 158u8, + 254u8, 68u8, 77u8, 230u8, 186u8, 230u8, 201u8, 63u8, 223u8, 28u8, + 173u8, 244u8, 82u8, 113u8, 177u8, 99u8, 27u8, 207u8, 247u8, 207u8, + 213u8, ], ) } @@ -18217,10 +17773,10 @@ pub mod api { "accept_curator", AcceptCurator { bounty_id }, [ - 106u8, 96u8, 22u8, 67u8, 52u8, 109u8, 180u8, 225u8, 122u8, - 253u8, 209u8, 214u8, 132u8, 131u8, 247u8, 131u8, 162u8, 51u8, - 144u8, 30u8, 12u8, 126u8, 50u8, 152u8, 229u8, 119u8, 54u8, - 116u8, 112u8, 235u8, 34u8, 166u8, + 106u8, 96u8, 22u8, 67u8, 52u8, 109u8, 180u8, 225u8, 122u8, 253u8, + 209u8, 214u8, 132u8, 131u8, 247u8, 131u8, 162u8, 51u8, 144u8, 30u8, + 12u8, 126u8, 50u8, 152u8, 229u8, 119u8, 54u8, 116u8, 112u8, 235u8, + 34u8, 166u8, ], ) } @@ -18238,10 +17794,7 @@ pub mod api { pub fn award_bounty( &self, bounty_id: ::core::primitive::u32, - beneficiary: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Bounties", @@ -18251,10 +17804,9 @@ pub mod api { beneficiary, }, [ - 203u8, 164u8, 214u8, 242u8, 1u8, 11u8, 217u8, 32u8, 189u8, - 136u8, 29u8, 230u8, 88u8, 17u8, 134u8, 189u8, 15u8, 204u8, - 223u8, 20u8, 168u8, 182u8, 129u8, 48u8, 83u8, 25u8, 125u8, - 25u8, 209u8, 155u8, 170u8, 68u8, + 203u8, 164u8, 214u8, 242u8, 1u8, 11u8, 217u8, 32u8, 189u8, 136u8, 29u8, + 230u8, 88u8, 17u8, 134u8, 189u8, 15u8, 204u8, 223u8, 20u8, 168u8, + 182u8, 129u8, 48u8, 83u8, 25u8, 125u8, 25u8, 209u8, 155u8, 170u8, 68u8, ], ) } @@ -18276,10 +17828,9 @@ pub mod api { "claim_bounty", ClaimBounty { bounty_id }, [ - 102u8, 95u8, 8u8, 89u8, 4u8, 126u8, 189u8, 28u8, 241u8, 16u8, - 125u8, 218u8, 42u8, 92u8, 177u8, 91u8, 8u8, 235u8, 33u8, - 48u8, 64u8, 115u8, 177u8, 95u8, 242u8, 97u8, 181u8, 50u8, - 68u8, 37u8, 59u8, 85u8, + 102u8, 95u8, 8u8, 89u8, 4u8, 126u8, 189u8, 28u8, 241u8, 16u8, 125u8, + 218u8, 42u8, 92u8, 177u8, 91u8, 8u8, 235u8, 33u8, 48u8, 64u8, 115u8, + 177u8, 95u8, 242u8, 97u8, 181u8, 50u8, 68u8, 37u8, 59u8, 85u8, ], ) } @@ -18302,10 +17853,10 @@ pub mod api { "close_bounty", CloseBounty { bounty_id }, [ - 64u8, 113u8, 151u8, 228u8, 90u8, 55u8, 251u8, 63u8, 27u8, - 211u8, 119u8, 229u8, 137u8, 137u8, 183u8, 240u8, 241u8, - 146u8, 69u8, 169u8, 124u8, 220u8, 236u8, 111u8, 98u8, 188u8, - 100u8, 52u8, 127u8, 245u8, 244u8, 92u8, + 64u8, 113u8, 151u8, 228u8, 90u8, 55u8, 251u8, 63u8, 27u8, 211u8, 119u8, + 229u8, 137u8, 137u8, 183u8, 240u8, 241u8, 146u8, 69u8, 169u8, 124u8, + 220u8, 236u8, 111u8, 98u8, 188u8, 100u8, 52u8, 127u8, 245u8, 244u8, + 92u8, ], ) } @@ -18329,10 +17880,9 @@ pub mod api { "extend_bounty_expiry", ExtendBountyExpiry { bounty_id, remark }, [ - 97u8, 69u8, 157u8, 39u8, 59u8, 72u8, 79u8, 88u8, 104u8, - 119u8, 91u8, 26u8, 73u8, 216u8, 174u8, 95u8, 254u8, 214u8, - 63u8, 138u8, 100u8, 112u8, 185u8, 81u8, 159u8, 247u8, 221u8, - 60u8, 87u8, 40u8, 80u8, 202u8, + 97u8, 69u8, 157u8, 39u8, 59u8, 72u8, 79u8, 88u8, 104u8, 119u8, 91u8, + 26u8, 73u8, 216u8, 174u8, 95u8, 254u8, 214u8, 63u8, 138u8, 100u8, + 112u8, 185u8, 81u8, 159u8, 247u8, 221u8, 60u8, 87u8, 40u8, 80u8, 202u8, ], ) } @@ -18489,10 +18039,9 @@ pub mod api { "BountyCount", vec![], [ - 5u8, 188u8, 134u8, 220u8, 64u8, 49u8, 188u8, 98u8, 185u8, - 186u8, 230u8, 65u8, 247u8, 199u8, 28u8, 178u8, 202u8, 193u8, - 41u8, 83u8, 115u8, 253u8, 182u8, 123u8, 92u8, 138u8, 12u8, - 31u8, 31u8, 213u8, 23u8, 118u8, + 5u8, 188u8, 134u8, 220u8, 64u8, 49u8, 188u8, 98u8, 185u8, 186u8, 230u8, + 65u8, 247u8, 199u8, 28u8, 178u8, 202u8, 193u8, 41u8, 83u8, 115u8, + 253u8, 182u8, 123u8, 92u8, 138u8, 12u8, 31u8, 31u8, 213u8, 23u8, 118u8, ], ) } @@ -18514,14 +18063,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Bounties", "Bounties", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 111u8, 149u8, 33u8, 54u8, 172u8, 143u8, 41u8, 231u8, 184u8, - 255u8, 238u8, 206u8, 87u8, 142u8, 84u8, 10u8, 236u8, 141u8, - 190u8, 193u8, 72u8, 170u8, 19u8, 110u8, 135u8, 136u8, 220u8, - 11u8, 99u8, 126u8, 225u8, 208u8, + 111u8, 149u8, 33u8, 54u8, 172u8, 143u8, 41u8, 231u8, 184u8, 255u8, + 238u8, 206u8, 87u8, 142u8, 84u8, 10u8, 236u8, 141u8, 190u8, 193u8, + 72u8, 170u8, 19u8, 110u8, 135u8, 136u8, 220u8, 11u8, 99u8, 126u8, + 225u8, 208u8, ], ) } @@ -18544,10 +18093,10 @@ pub mod api { "Bounties", Vec::new(), [ - 111u8, 149u8, 33u8, 54u8, 172u8, 143u8, 41u8, 231u8, 184u8, - 255u8, 238u8, 206u8, 87u8, 142u8, 84u8, 10u8, 236u8, 141u8, - 190u8, 193u8, 72u8, 170u8, 19u8, 110u8, 135u8, 136u8, 220u8, - 11u8, 99u8, 126u8, 225u8, 208u8, + 111u8, 149u8, 33u8, 54u8, 172u8, 143u8, 41u8, 231u8, 184u8, 255u8, + 238u8, 206u8, 87u8, 142u8, 84u8, 10u8, 236u8, 141u8, 190u8, 193u8, + 72u8, 170u8, 19u8, 110u8, 135u8, 136u8, 220u8, 11u8, 99u8, 126u8, + 225u8, 208u8, ], ) } @@ -18557,9 +18106,7 @@ pub mod api { _0: impl ::std::borrow::Borrow<::core::primitive::u32>, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::sp_core::bounded::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, + runtime_types::sp_core::bounded::bounded_vec::BoundedVec<::core::primitive::u8>, ::subxt::storage::address::Yes, (), ::subxt::storage::address::Yes, @@ -18567,14 +18114,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Bounties", "BountyDescriptions", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 252u8, 0u8, 9u8, 225u8, 13u8, 135u8, 7u8, 121u8, 154u8, - 155u8, 116u8, 83u8, 160u8, 37u8, 72u8, 11u8, 72u8, 0u8, - 248u8, 73u8, 158u8, 84u8, 125u8, 221u8, 176u8, 231u8, 100u8, - 239u8, 111u8, 22u8, 29u8, 13u8, + 252u8, 0u8, 9u8, 225u8, 13u8, 135u8, 7u8, 121u8, 154u8, 155u8, 116u8, + 83u8, 160u8, 37u8, 72u8, 11u8, 72u8, 0u8, 248u8, 73u8, 158u8, 84u8, + 125u8, 221u8, 176u8, 231u8, 100u8, 239u8, 111u8, 22u8, 29u8, 13u8, ], ) } @@ -18583,9 +18129,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::sp_core::bounded::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, + runtime_types::sp_core::bounded::bounded_vec::BoundedVec<::core::primitive::u8>, (), (), ::subxt::storage::address::Yes, @@ -18595,10 +18139,9 @@ pub mod api { "BountyDescriptions", Vec::new(), [ - 252u8, 0u8, 9u8, 225u8, 13u8, 135u8, 7u8, 121u8, 154u8, - 155u8, 116u8, 83u8, 160u8, 37u8, 72u8, 11u8, 72u8, 0u8, - 248u8, 73u8, 158u8, 84u8, 125u8, 221u8, 176u8, 231u8, 100u8, - 239u8, 111u8, 22u8, 29u8, 13u8, + 252u8, 0u8, 9u8, 225u8, 13u8, 135u8, 7u8, 121u8, 154u8, 155u8, 116u8, + 83u8, 160u8, 37u8, 72u8, 11u8, 72u8, 0u8, 248u8, 73u8, 158u8, 84u8, + 125u8, 221u8, 176u8, 231u8, 100u8, 239u8, 111u8, 22u8, 29u8, 13u8, ], ) } @@ -18619,10 +18162,9 @@ pub mod api { "BountyApprovals", vec![], [ - 64u8, 93u8, 54u8, 94u8, 122u8, 9u8, 246u8, 86u8, 234u8, 30u8, - 125u8, 132u8, 49u8, 128u8, 1u8, 219u8, 241u8, 13u8, 217u8, - 186u8, 48u8, 21u8, 5u8, 227u8, 71u8, 157u8, 128u8, 226u8, - 214u8, 49u8, 249u8, 183u8, + 64u8, 93u8, 54u8, 94u8, 122u8, 9u8, 246u8, 86u8, 234u8, 30u8, 125u8, + 132u8, 49u8, 128u8, 1u8, 219u8, 241u8, 13u8, 217u8, 186u8, 48u8, 21u8, + 5u8, 227u8, 71u8, 157u8, 128u8, 226u8, 214u8, 49u8, 249u8, 183u8, ], ) } @@ -18635,16 +18177,14 @@ pub mod api { #[doc = " The amount held on deposit for placing a bounty proposal."] pub fn bounty_deposit_base( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Bounties", "BountyDepositBase", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -18656,10 +18196,10 @@ pub mod api { "Bounties", "BountyDepositPayoutDelay", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -18671,10 +18211,10 @@ pub mod api { "Bounties", "BountyUpdatePeriod", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -18684,83 +18224,75 @@ pub mod api { #[doc = " `CuratorDepositMin`."] pub fn curator_deposit_multiplier( &self, - ) -> ::subxt::constants::Address< - runtime_types::sp_arithmetic::per_things::Permill, - > { + ) -> ::subxt::constants::Address + { ::subxt::constants::Address::new_static( "Bounties", "CuratorDepositMultiplier", [ - 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, - 19u8, 87u8, 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, - 225u8, 53u8, 212u8, 52u8, 177u8, 79u8, 4u8, 116u8, 201u8, - 104u8, 222u8, 75u8, 86u8, 227u8, + 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, 19u8, 87u8, + 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, 225u8, 53u8, 212u8, 52u8, + 177u8, 79u8, 4u8, 116u8, 201u8, 104u8, 222u8, 75u8, 86u8, 227u8, ], ) } #[doc = " Maximum amount of funds that should be placed in a deposit for making a proposal."] pub fn curator_deposit_max( &self, - ) -> ::subxt::constants::Address< - ::core::option::Option<::core::primitive::u128>, - > { + ) -> ::subxt::constants::Address<::core::option::Option<::core::primitive::u128>> + { ::subxt::constants::Address::new_static( "Bounties", "CuratorDepositMax", [ - 84u8, 154u8, 218u8, 83u8, 84u8, 189u8, 32u8, 20u8, 120u8, - 194u8, 88u8, 205u8, 109u8, 216u8, 114u8, 193u8, 120u8, 198u8, - 154u8, 237u8, 134u8, 204u8, 102u8, 247u8, 52u8, 103u8, 231u8, - 43u8, 243u8, 122u8, 60u8, 216u8, + 84u8, 154u8, 218u8, 83u8, 84u8, 189u8, 32u8, 20u8, 120u8, 194u8, 88u8, + 205u8, 109u8, 216u8, 114u8, 193u8, 120u8, 198u8, 154u8, 237u8, 134u8, + 204u8, 102u8, 247u8, 52u8, 103u8, 231u8, 43u8, 243u8, 122u8, 60u8, + 216u8, ], ) } #[doc = " Minimum amount of funds that should be placed in a deposit for making a proposal."] pub fn curator_deposit_min( &self, - ) -> ::subxt::constants::Address< - ::core::option::Option<::core::primitive::u128>, - > { + ) -> ::subxt::constants::Address<::core::option::Option<::core::primitive::u128>> + { ::subxt::constants::Address::new_static( "Bounties", "CuratorDepositMin", [ - 84u8, 154u8, 218u8, 83u8, 84u8, 189u8, 32u8, 20u8, 120u8, - 194u8, 88u8, 205u8, 109u8, 216u8, 114u8, 193u8, 120u8, 198u8, - 154u8, 237u8, 134u8, 204u8, 102u8, 247u8, 52u8, 103u8, 231u8, - 43u8, 243u8, 122u8, 60u8, 216u8, + 84u8, 154u8, 218u8, 83u8, 84u8, 189u8, 32u8, 20u8, 120u8, 194u8, 88u8, + 205u8, 109u8, 216u8, 114u8, 193u8, 120u8, 198u8, 154u8, 237u8, 134u8, + 204u8, 102u8, 247u8, 52u8, 103u8, 231u8, 43u8, 243u8, 122u8, 60u8, + 216u8, ], ) } #[doc = " Minimum value for a bounty."] pub fn bounty_value_minimum( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Bounties", "BountyValueMinimum", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } #[doc = " The amount held on deposit per byte within the tip report reason or bounty description."] pub fn data_deposit_per_byte( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Bounties", "DataDepositPerByte", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -18774,10 +18306,10 @@ pub mod api { "Bounties", "MaximumReasonLength", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -18822,8 +18354,7 @@ pub mod api { pub parent_bounty_id: ::core::primitive::u32, #[codec(compact)] pub child_bounty_id: ::core::primitive::u32, - pub curator: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub curator: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] pub fee: ::core::primitive::u128, } @@ -18871,8 +18402,7 @@ pub mod api { pub parent_bounty_id: ::core::primitive::u32, #[codec(compact)] pub child_bounty_id: ::core::primitive::u32, - pub beneficiary: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -18940,10 +18470,9 @@ pub mod api { description, }, [ - 210u8, 156u8, 242u8, 121u8, 28u8, 214u8, 212u8, 203u8, 46u8, - 45u8, 110u8, 25u8, 33u8, 138u8, 136u8, 71u8, 23u8, 102u8, - 203u8, 122u8, 77u8, 162u8, 112u8, 133u8, 43u8, 73u8, 201u8, - 176u8, 102u8, 68u8, 188u8, 8u8, + 210u8, 156u8, 242u8, 121u8, 28u8, 214u8, 212u8, 203u8, 46u8, 45u8, + 110u8, 25u8, 33u8, 138u8, 136u8, 71u8, 23u8, 102u8, 203u8, 122u8, 77u8, + 162u8, 112u8, 133u8, 43u8, 73u8, 201u8, 176u8, 102u8, 68u8, 188u8, 8u8, ], ) } @@ -18966,10 +18495,7 @@ pub mod api { &self, parent_bounty_id: ::core::primitive::u32, child_bounty_id: ::core::primitive::u32, - curator: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + curator: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, fee: ::core::primitive::u128, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( @@ -18982,10 +18508,9 @@ pub mod api { fee, }, [ - 37u8, 101u8, 96u8, 75u8, 254u8, 212u8, 42u8, 140u8, 72u8, - 107u8, 157u8, 110u8, 147u8, 236u8, 17u8, 138u8, 161u8, 153u8, - 119u8, 177u8, 225u8, 22u8, 83u8, 5u8, 123u8, 38u8, 30u8, - 240u8, 134u8, 208u8, 183u8, 247u8, + 37u8, 101u8, 96u8, 75u8, 254u8, 212u8, 42u8, 140u8, 72u8, 107u8, 157u8, + 110u8, 147u8, 236u8, 17u8, 138u8, 161u8, 153u8, 119u8, 177u8, 225u8, + 22u8, 83u8, 5u8, 123u8, 38u8, 30u8, 240u8, 134u8, 208u8, 183u8, 247u8, ], ) } @@ -19021,10 +18546,10 @@ pub mod api { child_bounty_id, }, [ - 112u8, 175u8, 238u8, 54u8, 132u8, 20u8, 206u8, 59u8, 220u8, - 228u8, 207u8, 222u8, 132u8, 240u8, 188u8, 0u8, 210u8, 225u8, - 234u8, 142u8, 232u8, 53u8, 64u8, 89u8, 220u8, 29u8, 28u8, - 123u8, 125u8, 207u8, 10u8, 52u8, + 112u8, 175u8, 238u8, 54u8, 132u8, 20u8, 206u8, 59u8, 220u8, 228u8, + 207u8, 222u8, 132u8, 240u8, 188u8, 0u8, 210u8, 225u8, 234u8, 142u8, + 232u8, 53u8, 64u8, 89u8, 220u8, 29u8, 28u8, 123u8, 125u8, 207u8, 10u8, + 52u8, ], ) } @@ -19075,10 +18600,10 @@ pub mod api { child_bounty_id, }, [ - 228u8, 189u8, 46u8, 75u8, 121u8, 161u8, 150u8, 87u8, 207u8, - 86u8, 192u8, 50u8, 52u8, 61u8, 49u8, 88u8, 178u8, 182u8, - 89u8, 72u8, 203u8, 45u8, 41u8, 26u8, 149u8, 114u8, 154u8, - 169u8, 118u8, 128u8, 13u8, 211u8, + 228u8, 189u8, 46u8, 75u8, 121u8, 161u8, 150u8, 87u8, 207u8, 86u8, + 192u8, 50u8, 52u8, 61u8, 49u8, 88u8, 178u8, 182u8, 89u8, 72u8, 203u8, + 45u8, 41u8, 26u8, 149u8, 114u8, 154u8, 169u8, 118u8, 128u8, 13u8, + 211u8, ], ) } @@ -19103,10 +18628,7 @@ pub mod api { &self, parent_bounty_id: ::core::primitive::u32, child_bounty_id: ::core::primitive::u32, - beneficiary: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "ChildBounties", @@ -19117,10 +18639,10 @@ pub mod api { beneficiary, }, [ - 231u8, 185u8, 73u8, 232u8, 92u8, 116u8, 204u8, 165u8, 216u8, - 194u8, 151u8, 21u8, 127u8, 239u8, 78u8, 45u8, 27u8, 252u8, - 119u8, 23u8, 71u8, 140u8, 137u8, 209u8, 189u8, 128u8, 126u8, - 247u8, 13u8, 42u8, 68u8, 134u8, + 231u8, 185u8, 73u8, 232u8, 92u8, 116u8, 204u8, 165u8, 216u8, 194u8, + 151u8, 21u8, 127u8, 239u8, 78u8, 45u8, 27u8, 252u8, 119u8, 23u8, 71u8, + 140u8, 137u8, 209u8, 189u8, 128u8, 126u8, 247u8, 13u8, 42u8, 68u8, + 134u8, ], ) } @@ -19153,10 +18675,10 @@ pub mod api { child_bounty_id, }, [ - 134u8, 243u8, 151u8, 228u8, 38u8, 174u8, 96u8, 140u8, 104u8, - 124u8, 166u8, 206u8, 126u8, 211u8, 17u8, 100u8, 172u8, 5u8, - 234u8, 171u8, 125u8, 2u8, 191u8, 163u8, 72u8, 29u8, 163u8, - 107u8, 65u8, 92u8, 41u8, 45u8, + 134u8, 243u8, 151u8, 228u8, 38u8, 174u8, 96u8, 140u8, 104u8, 124u8, + 166u8, 206u8, 126u8, 211u8, 17u8, 100u8, 172u8, 5u8, 234u8, 171u8, + 125u8, 2u8, 191u8, 163u8, 72u8, 29u8, 163u8, 107u8, 65u8, 92u8, 41u8, + 45u8, ], ) } @@ -19195,10 +18717,9 @@ pub mod api { child_bounty_id, }, [ - 40u8, 0u8, 235u8, 75u8, 36u8, 196u8, 29u8, 26u8, 30u8, 172u8, - 240u8, 44u8, 129u8, 243u8, 55u8, 211u8, 96u8, 159u8, 72u8, - 96u8, 142u8, 68u8, 41u8, 238u8, 157u8, 167u8, 90u8, 141u8, - 213u8, 249u8, 222u8, 22u8, + 40u8, 0u8, 235u8, 75u8, 36u8, 196u8, 29u8, 26u8, 30u8, 172u8, 240u8, + 44u8, 129u8, 243u8, 55u8, 211u8, 96u8, 159u8, 72u8, 96u8, 142u8, 68u8, + 41u8, 238u8, 157u8, 167u8, 90u8, 141u8, 213u8, 249u8, 222u8, 22u8, ], ) } @@ -19303,10 +18824,9 @@ pub mod api { "ChildBountyCount", vec![], [ - 46u8, 10u8, 183u8, 160u8, 98u8, 215u8, 39u8, 253u8, 81u8, - 94u8, 114u8, 147u8, 115u8, 162u8, 33u8, 117u8, 160u8, 214u8, - 167u8, 7u8, 109u8, 143u8, 158u8, 1u8, 200u8, 205u8, 17u8, - 93u8, 89u8, 26u8, 30u8, 95u8, + 46u8, 10u8, 183u8, 160u8, 98u8, 215u8, 39u8, 253u8, 81u8, 94u8, 114u8, + 147u8, 115u8, 162u8, 33u8, 117u8, 160u8, 214u8, 167u8, 7u8, 109u8, + 143u8, 158u8, 1u8, 200u8, 205u8, 17u8, 93u8, 89u8, 26u8, 30u8, 95u8, ], ) } @@ -19325,14 +18845,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "ChildBounties", "ParentChildBounties", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 127u8, 161u8, 181u8, 79u8, 235u8, 196u8, 252u8, 162u8, 39u8, - 15u8, 251u8, 49u8, 125u8, 80u8, 101u8, 24u8, 234u8, 88u8, - 212u8, 126u8, 63u8, 63u8, 19u8, 75u8, 137u8, 125u8, 38u8, - 250u8, 77u8, 49u8, 76u8, 188u8, + 127u8, 161u8, 181u8, 79u8, 235u8, 196u8, 252u8, 162u8, 39u8, 15u8, + 251u8, 49u8, 125u8, 80u8, 101u8, 24u8, 234u8, 88u8, 212u8, 126u8, 63u8, + 63u8, 19u8, 75u8, 137u8, 125u8, 38u8, 250u8, 77u8, 49u8, 76u8, 188u8, ], ) } @@ -19352,10 +18871,9 @@ pub mod api { "ParentChildBounties", Vec::new(), [ - 127u8, 161u8, 181u8, 79u8, 235u8, 196u8, 252u8, 162u8, 39u8, - 15u8, 251u8, 49u8, 125u8, 80u8, 101u8, 24u8, 234u8, 88u8, - 212u8, 126u8, 63u8, 63u8, 19u8, 75u8, 137u8, 125u8, 38u8, - 250u8, 77u8, 49u8, 76u8, 188u8, + 127u8, 161u8, 181u8, 79u8, 235u8, 196u8, 252u8, 162u8, 39u8, 15u8, + 251u8, 49u8, 125u8, 80u8, 101u8, 24u8, 234u8, 88u8, 212u8, 126u8, 63u8, + 63u8, 19u8, 75u8, 137u8, 125u8, 38u8, 250u8, 77u8, 49u8, 76u8, 188u8, ], ) } @@ -19379,18 +18897,14 @@ pub mod api { "ChildBounties", "ChildBounties", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 66u8, 132u8, 251u8, 223u8, 216u8, 52u8, 162u8, 150u8, 229u8, - 239u8, 219u8, 182u8, 211u8, 228u8, 181u8, 46u8, 243u8, 151u8, - 111u8, 235u8, 105u8, 40u8, 39u8, 10u8, 245u8, 113u8, 78u8, - 116u8, 219u8, 186u8, 165u8, 91u8, + 66u8, 132u8, 251u8, 223u8, 216u8, 52u8, 162u8, 150u8, 229u8, 239u8, + 219u8, 182u8, 211u8, 228u8, 181u8, 46u8, 243u8, 151u8, 111u8, 235u8, + 105u8, 40u8, 39u8, 10u8, 245u8, 113u8, 78u8, 116u8, 219u8, 186u8, + 165u8, 91u8, ], ) } @@ -19413,10 +18927,10 @@ pub mod api { "ChildBounties", Vec::new(), [ - 66u8, 132u8, 251u8, 223u8, 216u8, 52u8, 162u8, 150u8, 229u8, - 239u8, 219u8, 182u8, 211u8, 228u8, 181u8, 46u8, 243u8, 151u8, - 111u8, 235u8, 105u8, 40u8, 39u8, 10u8, 245u8, 113u8, 78u8, - 116u8, 219u8, 186u8, 165u8, 91u8, + 66u8, 132u8, 251u8, 223u8, 216u8, 52u8, 162u8, 150u8, 229u8, 239u8, + 219u8, 182u8, 211u8, 228u8, 181u8, 46u8, 243u8, 151u8, 111u8, 235u8, + 105u8, 40u8, 39u8, 10u8, 245u8, 113u8, 78u8, 116u8, 219u8, 186u8, + 165u8, 91u8, ], ) } @@ -19426,9 +18940,7 @@ pub mod api { _0: impl ::std::borrow::Borrow<::core::primitive::u32>, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::sp_core::bounded::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, + runtime_types::sp_core::bounded::bounded_vec::BoundedVec<::core::primitive::u8>, ::subxt::storage::address::Yes, (), ::subxt::storage::address::Yes, @@ -19436,14 +18948,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "ChildBounties", "ChildBountyDescriptions", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 193u8, 200u8, 40u8, 30u8, 14u8, 71u8, 90u8, 42u8, 58u8, - 253u8, 225u8, 158u8, 172u8, 10u8, 45u8, 238u8, 36u8, 144u8, - 184u8, 153u8, 11u8, 157u8, 125u8, 220u8, 175u8, 31u8, 28u8, - 93u8, 207u8, 212u8, 141u8, 74u8, + 193u8, 200u8, 40u8, 30u8, 14u8, 71u8, 90u8, 42u8, 58u8, 253u8, 225u8, + 158u8, 172u8, 10u8, 45u8, 238u8, 36u8, 144u8, 184u8, 153u8, 11u8, + 157u8, 125u8, 220u8, 175u8, 31u8, 28u8, 93u8, 207u8, 212u8, 141u8, + 74u8, ], ) } @@ -19452,9 +18964,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::sp_core::bounded::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, + runtime_types::sp_core::bounded::bounded_vec::BoundedVec<::core::primitive::u8>, (), (), ::subxt::storage::address::Yes, @@ -19464,10 +18974,10 @@ pub mod api { "ChildBountyDescriptions", Vec::new(), [ - 193u8, 200u8, 40u8, 30u8, 14u8, 71u8, 90u8, 42u8, 58u8, - 253u8, 225u8, 158u8, 172u8, 10u8, 45u8, 238u8, 36u8, 144u8, - 184u8, 153u8, 11u8, 157u8, 125u8, 220u8, 175u8, 31u8, 28u8, - 93u8, 207u8, 212u8, 141u8, 74u8, + 193u8, 200u8, 40u8, 30u8, 14u8, 71u8, 90u8, 42u8, 58u8, 253u8, 225u8, + 158u8, 172u8, 10u8, 45u8, 238u8, 36u8, 144u8, 184u8, 153u8, 11u8, + 157u8, 125u8, 220u8, 175u8, 31u8, 28u8, 93u8, 207u8, 212u8, 141u8, + 74u8, ], ) } @@ -19485,14 +18995,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "ChildBounties", "ChildrenCuratorFees", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 174u8, 128u8, 86u8, 179u8, 133u8, 76u8, 98u8, 169u8, 234u8, - 166u8, 249u8, 214u8, 172u8, 171u8, 8u8, 161u8, 105u8, 69u8, - 148u8, 151u8, 35u8, 174u8, 118u8, 139u8, 101u8, 56u8, 85u8, - 211u8, 121u8, 168u8, 0u8, 216u8, + 174u8, 128u8, 86u8, 179u8, 133u8, 76u8, 98u8, 169u8, 234u8, 166u8, + 249u8, 214u8, 172u8, 171u8, 8u8, 161u8, 105u8, 69u8, 148u8, 151u8, + 35u8, 174u8, 118u8, 139u8, 101u8, 56u8, 85u8, 211u8, 121u8, 168u8, 0u8, + 216u8, ], ) } @@ -19511,10 +19021,10 @@ pub mod api { "ChildrenCuratorFees", Vec::new(), [ - 174u8, 128u8, 86u8, 179u8, 133u8, 76u8, 98u8, 169u8, 234u8, - 166u8, 249u8, 214u8, 172u8, 171u8, 8u8, 161u8, 105u8, 69u8, - 148u8, 151u8, 35u8, 174u8, 118u8, 139u8, 101u8, 56u8, 85u8, - 211u8, 121u8, 168u8, 0u8, 216u8, + 174u8, 128u8, 86u8, 179u8, 133u8, 76u8, 98u8, 169u8, 234u8, 166u8, + 249u8, 214u8, 172u8, 171u8, 8u8, 161u8, 105u8, 69u8, 148u8, 151u8, + 35u8, 174u8, 118u8, 139u8, 101u8, 56u8, 85u8, 211u8, 121u8, 168u8, 0u8, + 216u8, ], ) } @@ -19532,26 +19042,24 @@ pub mod api { "ChildBounties", "MaxActiveChildBountyCount", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " Minimum value for a child-bounty."] pub fn child_bounty_value_minimum( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "ChildBounties", "ChildBountyValueMinimum", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -19675,10 +19183,9 @@ pub mod api { "report_awesome", ReportAwesome { reason, who }, [ - 126u8, 68u8, 2u8, 54u8, 195u8, 15u8, 43u8, 27u8, 183u8, - 254u8, 157u8, 163u8, 252u8, 14u8, 207u8, 251u8, 215u8, 111u8, - 98u8, 209u8, 150u8, 11u8, 240u8, 177u8, 106u8, 93u8, 191u8, - 31u8, 62u8, 11u8, 223u8, 79u8, + 126u8, 68u8, 2u8, 54u8, 195u8, 15u8, 43u8, 27u8, 183u8, 254u8, 157u8, + 163u8, 252u8, 14u8, 207u8, 251u8, 215u8, 111u8, 98u8, 209u8, 150u8, + 11u8, 240u8, 177u8, 106u8, 93u8, 191u8, 31u8, 62u8, 11u8, 223u8, 79u8, ], ) } @@ -19710,10 +19217,10 @@ pub mod api { "retract_tip", RetractTip { hash }, [ - 137u8, 42u8, 229u8, 188u8, 157u8, 195u8, 184u8, 176u8, 64u8, - 142u8, 67u8, 175u8, 185u8, 207u8, 214u8, 71u8, 165u8, 29u8, - 137u8, 227u8, 132u8, 195u8, 255u8, 66u8, 186u8, 57u8, 34u8, - 184u8, 187u8, 65u8, 129u8, 131u8, + 137u8, 42u8, 229u8, 188u8, 157u8, 195u8, 184u8, 176u8, 64u8, 142u8, + 67u8, 175u8, 185u8, 207u8, 214u8, 71u8, 165u8, 29u8, 137u8, 227u8, + 132u8, 195u8, 255u8, 66u8, 186u8, 57u8, 34u8, 184u8, 187u8, 65u8, + 129u8, 131u8, ], ) } @@ -19754,10 +19261,10 @@ pub mod api { tip_value, }, [ - 217u8, 15u8, 70u8, 80u8, 193u8, 110u8, 212u8, 110u8, 212u8, - 45u8, 197u8, 150u8, 43u8, 116u8, 115u8, 231u8, 148u8, 102u8, - 202u8, 28u8, 55u8, 88u8, 166u8, 238u8, 11u8, 238u8, 229u8, - 189u8, 89u8, 115u8, 196u8, 95u8, + 217u8, 15u8, 70u8, 80u8, 193u8, 110u8, 212u8, 110u8, 212u8, 45u8, + 197u8, 150u8, 43u8, 116u8, 115u8, 231u8, 148u8, 102u8, 202u8, 28u8, + 55u8, 88u8, 166u8, 238u8, 11u8, 238u8, 229u8, 189u8, 89u8, 115u8, + 196u8, 95u8, ], ) } @@ -19795,10 +19302,9 @@ pub mod api { "tip", Tip { hash, tip_value }, [ - 133u8, 52u8, 131u8, 14u8, 71u8, 232u8, 254u8, 31u8, 33u8, - 206u8, 50u8, 76u8, 56u8, 167u8, 228u8, 202u8, 195u8, 0u8, - 164u8, 107u8, 170u8, 98u8, 192u8, 37u8, 209u8, 199u8, 130u8, - 15u8, 168u8, 63u8, 181u8, 134u8, + 133u8, 52u8, 131u8, 14u8, 71u8, 232u8, 254u8, 31u8, 33u8, 206u8, 50u8, + 76u8, 56u8, 167u8, 228u8, 202u8, 195u8, 0u8, 164u8, 107u8, 170u8, 98u8, + 192u8, 37u8, 209u8, 199u8, 130u8, 15u8, 168u8, 63u8, 181u8, 134u8, ], ) } @@ -19827,10 +19333,9 @@ pub mod api { "close_tip", CloseTip { hash }, [ - 32u8, 53u8, 0u8, 222u8, 45u8, 157u8, 107u8, 174u8, 203u8, - 50u8, 81u8, 230u8, 6u8, 111u8, 79u8, 55u8, 49u8, 151u8, - 107u8, 114u8, 81u8, 200u8, 144u8, 175u8, 29u8, 142u8, 115u8, - 184u8, 102u8, 116u8, 156u8, 173u8, + 32u8, 53u8, 0u8, 222u8, 45u8, 157u8, 107u8, 174u8, 203u8, 50u8, 81u8, + 230u8, 6u8, 111u8, 79u8, 55u8, 49u8, 151u8, 107u8, 114u8, 81u8, 200u8, + 144u8, 175u8, 29u8, 142u8, 115u8, 184u8, 102u8, 116u8, 156u8, 173u8, ], ) } @@ -19855,10 +19360,9 @@ pub mod api { "slash_tip", SlashTip { hash }, [ - 222u8, 209u8, 22u8, 47u8, 114u8, 230u8, 81u8, 200u8, 131u8, - 0u8, 209u8, 54u8, 17u8, 200u8, 175u8, 125u8, 100u8, 254u8, - 41u8, 178u8, 20u8, 27u8, 9u8, 184u8, 79u8, 93u8, 208u8, - 148u8, 27u8, 190u8, 176u8, 169u8, + 222u8, 209u8, 22u8, 47u8, 114u8, 230u8, 81u8, 200u8, 131u8, 0u8, 209u8, + 54u8, 17u8, 200u8, 175u8, 125u8, 100u8, 254u8, 41u8, 178u8, 20u8, 27u8, + 9u8, 184u8, 79u8, 93u8, 208u8, 148u8, 27u8, 190u8, 176u8, 169u8, ], ) } @@ -19983,14 +19487,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Tips", "Tips", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 241u8, 196u8, 105u8, 248u8, 29u8, 66u8, 86u8, 98u8, 6u8, - 159u8, 191u8, 0u8, 227u8, 232u8, 147u8, 248u8, 173u8, 20u8, - 225u8, 12u8, 232u8, 5u8, 93u8, 78u8, 18u8, 154u8, 130u8, - 38u8, 142u8, 36u8, 66u8, 0u8, + 241u8, 196u8, 105u8, 248u8, 29u8, 66u8, 86u8, 98u8, 6u8, 159u8, 191u8, + 0u8, 227u8, 232u8, 147u8, 248u8, 173u8, 20u8, 225u8, 12u8, 232u8, 5u8, + 93u8, 78u8, 18u8, 154u8, 130u8, 38u8, 142u8, 36u8, 66u8, 0u8, ], ) } @@ -20016,10 +19519,9 @@ pub mod api { "Tips", Vec::new(), [ - 241u8, 196u8, 105u8, 248u8, 29u8, 66u8, 86u8, 98u8, 6u8, - 159u8, 191u8, 0u8, 227u8, 232u8, 147u8, 248u8, 173u8, 20u8, - 225u8, 12u8, 232u8, 5u8, 93u8, 78u8, 18u8, 154u8, 130u8, - 38u8, 142u8, 36u8, 66u8, 0u8, + 241u8, 196u8, 105u8, 248u8, 29u8, 66u8, 86u8, 98u8, 6u8, 159u8, 191u8, + 0u8, 227u8, 232u8, 147u8, 248u8, 173u8, 20u8, 225u8, 12u8, 232u8, 5u8, + 93u8, 78u8, 18u8, 154u8, 130u8, 38u8, 142u8, 36u8, 66u8, 0u8, ], ) } @@ -20038,14 +19540,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Tips", "Reasons", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 202u8, 191u8, 36u8, 162u8, 156u8, 102u8, 115u8, 10u8, 203u8, - 35u8, 201u8, 70u8, 195u8, 151u8, 89u8, 82u8, 202u8, 35u8, - 210u8, 176u8, 82u8, 1u8, 77u8, 94u8, 31u8, 70u8, 252u8, - 194u8, 166u8, 91u8, 189u8, 134u8, + 202u8, 191u8, 36u8, 162u8, 156u8, 102u8, 115u8, 10u8, 203u8, 35u8, + 201u8, 70u8, 195u8, 151u8, 89u8, 82u8, 202u8, 35u8, 210u8, 176u8, 82u8, + 1u8, 77u8, 94u8, 31u8, 70u8, 252u8, 194u8, 166u8, 91u8, 189u8, 134u8, ], ) } @@ -20065,10 +19566,9 @@ pub mod api { "Reasons", Vec::new(), [ - 202u8, 191u8, 36u8, 162u8, 156u8, 102u8, 115u8, 10u8, 203u8, - 35u8, 201u8, 70u8, 195u8, 151u8, 89u8, 82u8, 202u8, 35u8, - 210u8, 176u8, 82u8, 1u8, 77u8, 94u8, 31u8, 70u8, 252u8, - 194u8, 166u8, 91u8, 189u8, 134u8, + 202u8, 191u8, 36u8, 162u8, 156u8, 102u8, 115u8, 10u8, 203u8, 35u8, + 201u8, 70u8, 195u8, 151u8, 89u8, 82u8, 202u8, 35u8, 210u8, 176u8, 82u8, + 1u8, 77u8, 94u8, 31u8, 70u8, 252u8, 194u8, 166u8, 91u8, 189u8, 134u8, ], ) } @@ -20088,74 +19588,67 @@ pub mod api { "Tips", "MaximumReasonLength", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " The amount held on deposit per byte within the tip report reason or bounty description."] pub fn data_deposit_per_byte( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Tips", "DataDepositPerByte", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } #[doc = " The period for which a tip remains open after is has achieved threshold tippers."] - pub fn tip_countdown( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn tip_countdown(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Tips", "TipCountdown", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " The percent of the final tip which goes to the original reporter of the tip."] pub fn tip_finders_fee( &self, - ) -> ::subxt::constants::Address< - runtime_types::sp_arithmetic::per_things::Percent, - > { + ) -> ::subxt::constants::Address + { ::subxt::constants::Address::new_static( "Tips", "TipFindersFee", [ - 99u8, 121u8, 176u8, 172u8, 235u8, 159u8, 116u8, 114u8, 179u8, - 91u8, 129u8, 117u8, 204u8, 135u8, 53u8, 7u8, 151u8, 26u8, - 124u8, 151u8, 202u8, 171u8, 171u8, 207u8, 183u8, 177u8, 24u8, - 53u8, 109u8, 185u8, 71u8, 183u8, + 99u8, 121u8, 176u8, 172u8, 235u8, 159u8, 116u8, 114u8, 179u8, 91u8, + 129u8, 117u8, 204u8, 135u8, 53u8, 7u8, 151u8, 26u8, 124u8, 151u8, + 202u8, 171u8, 171u8, 207u8, 183u8, 177u8, 24u8, 53u8, 109u8, 185u8, + 71u8, 183u8, ], ) } #[doc = " The amount held on deposit for placing a tip report."] pub fn tip_report_deposit_base( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Tips", "TipReportDepositBase", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -20179,7 +19672,15 @@ pub mod api { )] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct SubmitUnsigned { pub raw_solution : :: std :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: polkadot_runtime :: NposCompactSolution16 > > , pub witness : runtime_types :: pallet_election_provider_multi_phase :: SolutionOrSnapshotSize , } + pub struct SubmitUnsigned { + pub raw_solution: ::std::boxed::Box< + runtime_types::pallet_election_provider_multi_phase::RawSolution< + runtime_types::polkadot_runtime::NposCompactSolution16, + >, + >, + pub witness: + runtime_types::pallet_election_provider_multi_phase::SolutionOrSnapshotSize, + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -20190,9 +19691,8 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMinimumUntrustedScore { - pub maybe_next_score: ::core::option::Option< - runtime_types::sp_npos_elections::ElectionScore, - >, + pub maybe_next_score: + ::core::option::Option, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -20206,9 +19706,7 @@ pub mod api { pub struct SetEmergencyElectionResult { pub supports: ::std::vec::Vec<( ::subxt::utils::AccountId32, - runtime_types::sp_npos_elections::Support< - ::subxt::utils::AccountId32, - >, + runtime_types::sp_npos_elections::Support<::subxt::utils::AccountId32>, )>, } #[derive( @@ -20258,7 +19756,9 @@ pub mod api { #[doc = "No deposit or reward is associated with this submission."] pub fn submit_unsigned( &self, - raw_solution : runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: polkadot_runtime :: NposCompactSolution16 >, + raw_solution: runtime_types::pallet_election_provider_multi_phase::RawSolution< + runtime_types::polkadot_runtime::NposCompactSolution16, + >, witness : runtime_types :: pallet_election_provider_multi_phase :: SolutionOrSnapshotSize, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( @@ -20269,10 +19769,9 @@ pub mod api { witness, }, [ - 100u8, 240u8, 31u8, 34u8, 93u8, 98u8, 93u8, 57u8, 41u8, - 197u8, 97u8, 58u8, 242u8, 10u8, 69u8, 250u8, 185u8, 169u8, - 21u8, 8u8, 202u8, 61u8, 36u8, 25u8, 4u8, 148u8, 82u8, 56u8, - 242u8, 18u8, 27u8, 219u8, + 100u8, 240u8, 31u8, 34u8, 93u8, 98u8, 93u8, 57u8, 41u8, 197u8, 97u8, + 58u8, 242u8, 10u8, 69u8, 250u8, 185u8, 169u8, 21u8, 8u8, 202u8, 61u8, + 36u8, 25u8, 4u8, 148u8, 82u8, 56u8, 242u8, 18u8, 27u8, 219u8, ], ) } @@ -20292,10 +19791,9 @@ pub mod api { "set_minimum_untrusted_score", SetMinimumUntrustedScore { maybe_next_score }, [ - 63u8, 101u8, 105u8, 146u8, 133u8, 162u8, 149u8, 112u8, 150u8, - 219u8, 183u8, 213u8, 234u8, 211u8, 144u8, 74u8, 106u8, 15u8, - 62u8, 196u8, 247u8, 49u8, 20u8, 48u8, 3u8, 105u8, 85u8, 46u8, - 76u8, 4u8, 67u8, 81u8, + 63u8, 101u8, 105u8, 146u8, 133u8, 162u8, 149u8, 112u8, 150u8, 219u8, + 183u8, 213u8, 234u8, 211u8, 144u8, 74u8, 106u8, 15u8, 62u8, 196u8, + 247u8, 49u8, 20u8, 48u8, 3u8, 105u8, 85u8, 46u8, 76u8, 4u8, 67u8, 81u8, ], ) } @@ -20311,9 +19809,7 @@ pub mod api { &self, supports: ::std::vec::Vec<( ::subxt::utils::AccountId32, - runtime_types::sp_npos_elections::Support< - ::subxt::utils::AccountId32, - >, + runtime_types::sp_npos_elections::Support<::subxt::utils::AccountId32>, )>, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( @@ -20321,10 +19817,9 @@ pub mod api { "set_emergency_election_result", SetEmergencyElectionResult { supports }, [ - 115u8, 255u8, 205u8, 58u8, 153u8, 1u8, 246u8, 8u8, 225u8, - 36u8, 66u8, 144u8, 250u8, 145u8, 70u8, 76u8, 54u8, 63u8, - 251u8, 51u8, 214u8, 204u8, 55u8, 112u8, 46u8, 228u8, 255u8, - 250u8, 151u8, 5u8, 44u8, 133u8, + 115u8, 255u8, 205u8, 58u8, 153u8, 1u8, 246u8, 8u8, 225u8, 36u8, 66u8, + 144u8, 250u8, 145u8, 70u8, 76u8, 54u8, 63u8, 251u8, 51u8, 214u8, 204u8, + 55u8, 112u8, 46u8, 228u8, 255u8, 250u8, 151u8, 5u8, 44u8, 133u8, ], ) } @@ -20339,7 +19834,9 @@ pub mod api { #[doc = "might be rewarded, slashed, or get all or a part of the deposit back."] pub fn submit( &self, - raw_solution : runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: polkadot_runtime :: NposCompactSolution16 >, + raw_solution: runtime_types::pallet_election_provider_multi_phase::RawSolution< + runtime_types::polkadot_runtime::NposCompactSolution16, + >, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "ElectionProviderMultiPhase", @@ -20348,10 +19845,10 @@ pub mod api { raw_solution: ::std::boxed::Box::new(raw_solution), }, [ - 220u8, 167u8, 40u8, 47u8, 253u8, 244u8, 72u8, 124u8, 30u8, - 123u8, 127u8, 227u8, 2u8, 66u8, 119u8, 64u8, 211u8, 200u8, - 210u8, 98u8, 248u8, 132u8, 68u8, 25u8, 34u8, 182u8, 230u8, - 225u8, 241u8, 58u8, 193u8, 134u8, + 220u8, 167u8, 40u8, 47u8, 253u8, 244u8, 72u8, 124u8, 30u8, 123u8, + 127u8, 227u8, 2u8, 66u8, 119u8, 64u8, 211u8, 200u8, 210u8, 98u8, 248u8, + 132u8, 68u8, 25u8, 34u8, 182u8, 230u8, 225u8, 241u8, 58u8, 193u8, + 134u8, ], ) } @@ -20372,18 +19869,16 @@ pub mod api { maybe_max_targets, }, [ - 206u8, 247u8, 76u8, 85u8, 7u8, 24u8, 231u8, 226u8, 192u8, - 143u8, 43u8, 67u8, 91u8, 202u8, 88u8, 176u8, 130u8, 1u8, - 83u8, 229u8, 227u8, 200u8, 179u8, 4u8, 113u8, 60u8, 99u8, - 190u8, 53u8, 226u8, 142u8, 182u8, + 206u8, 247u8, 76u8, 85u8, 7u8, 24u8, 231u8, 226u8, 192u8, 143u8, 43u8, + 67u8, 91u8, 202u8, 88u8, 176u8, 130u8, 1u8, 83u8, 229u8, 227u8, 200u8, + 179u8, 4u8, 113u8, 60u8, 99u8, 190u8, 53u8, 226u8, 142u8, 182u8, ], ) } } } #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] - pub type Event = - runtime_types::pallet_election_provider_multi_phase::pallet::Event; + pub type Event = runtime_types::pallet_election_provider_multi_phase::pallet::Event; pub mod events { use super::runtime_types; #[derive( @@ -20402,8 +19897,7 @@ pub mod api { #[doc = ""] #[doc = "The `bool` is `true` when a previous solution was ejected to make room for this one."] pub struct SolutionStored { - pub compute: - runtime_types::pallet_election_provider_multi_phase::ElectionCompute, + pub compute: runtime_types::pallet_election_provider_multi_phase::ElectionCompute, pub prev_ejected: ::core::primitive::bool, } impl ::subxt::events::StaticEvent for SolutionStored { @@ -20421,8 +19915,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The election has been finalized, with the given computation and score."] pub struct ElectionFinalized { - pub compute: - runtime_types::pallet_election_provider_multi_phase::ElectionCompute, + pub compute: runtime_types::pallet_election_provider_multi_phase::ElectionCompute, pub score: runtime_types::sp_npos_elections::ElectionScore, } impl ::subxt::events::StaticEvent for ElectionFinalized { @@ -20543,10 +20036,9 @@ pub mod api { "Round", vec![], [ - 16u8, 49u8, 176u8, 52u8, 202u8, 111u8, 120u8, 8u8, 217u8, - 96u8, 35u8, 14u8, 233u8, 130u8, 47u8, 98u8, 34u8, 44u8, - 166u8, 188u8, 199u8, 210u8, 21u8, 19u8, 70u8, 96u8, 139u8, - 8u8, 53u8, 82u8, 165u8, 239u8, + 16u8, 49u8, 176u8, 52u8, 202u8, 111u8, 120u8, 8u8, 217u8, 96u8, 35u8, + 14u8, 233u8, 130u8, 47u8, 98u8, 34u8, 44u8, 166u8, 188u8, 199u8, 210u8, + 21u8, 19u8, 70u8, 96u8, 139u8, 8u8, 53u8, 82u8, 165u8, 239u8, ], ) } @@ -20567,10 +20059,9 @@ pub mod api { "CurrentPhase", vec![], [ - 236u8, 101u8, 8u8, 52u8, 68u8, 240u8, 74u8, 159u8, 181u8, - 53u8, 153u8, 101u8, 228u8, 81u8, 96u8, 161u8, 34u8, 67u8, - 35u8, 28u8, 121u8, 44u8, 229u8, 45u8, 196u8, 87u8, 73u8, - 125u8, 216u8, 245u8, 255u8, 15u8, + 236u8, 101u8, 8u8, 52u8, 68u8, 240u8, 74u8, 159u8, 181u8, 53u8, 153u8, + 101u8, 228u8, 81u8, 96u8, 161u8, 34u8, 67u8, 35u8, 28u8, 121u8, 44u8, + 229u8, 45u8, 196u8, 87u8, 73u8, 125u8, 216u8, 245u8, 255u8, 15u8, ], ) } @@ -20589,10 +20080,10 @@ pub mod api { "QueuedSolution", vec![], [ - 11u8, 152u8, 13u8, 167u8, 204u8, 209u8, 171u8, 249u8, 59u8, - 250u8, 58u8, 152u8, 164u8, 121u8, 146u8, 112u8, 241u8, 16u8, - 159u8, 251u8, 209u8, 251u8, 114u8, 29u8, 188u8, 30u8, 84u8, - 71u8, 136u8, 173u8, 145u8, 236u8, + 11u8, 152u8, 13u8, 167u8, 204u8, 209u8, 171u8, 249u8, 59u8, 250u8, + 58u8, 152u8, 164u8, 121u8, 146u8, 112u8, 241u8, 16u8, 159u8, 251u8, + 209u8, 251u8, 114u8, 29u8, 188u8, 30u8, 84u8, 71u8, 136u8, 173u8, + 145u8, 236u8, ], ) } @@ -20613,10 +20104,9 @@ pub mod api { "Snapshot", vec![], [ - 239u8, 56u8, 191u8, 77u8, 150u8, 224u8, 248u8, 88u8, 132u8, - 224u8, 164u8, 83u8, 253u8, 36u8, 46u8, 156u8, 72u8, 152u8, - 36u8, 206u8, 72u8, 27u8, 226u8, 87u8, 146u8, 220u8, 93u8, - 178u8, 26u8, 115u8, 232u8, 71u8, + 239u8, 56u8, 191u8, 77u8, 150u8, 224u8, 248u8, 88u8, 132u8, 224u8, + 164u8, 83u8, 253u8, 36u8, 46u8, 156u8, 72u8, 152u8, 36u8, 206u8, 72u8, + 27u8, 226u8, 87u8, 146u8, 220u8, 93u8, 178u8, 26u8, 115u8, 232u8, 71u8, ], ) } @@ -20637,25 +20127,33 @@ pub mod api { "DesiredTargets", vec![], [ - 16u8, 247u8, 4u8, 181u8, 93u8, 79u8, 12u8, 212u8, 146u8, - 167u8, 80u8, 58u8, 118u8, 52u8, 68u8, 87u8, 90u8, 140u8, - 31u8, 210u8, 2u8, 116u8, 220u8, 231u8, 115u8, 112u8, 118u8, - 118u8, 68u8, 34u8, 151u8, 165u8, + 16u8, 247u8, 4u8, 181u8, 93u8, 79u8, 12u8, 212u8, 146u8, 167u8, 80u8, + 58u8, 118u8, 52u8, 68u8, 87u8, 90u8, 140u8, 31u8, 210u8, 2u8, 116u8, + 220u8, 231u8, 115u8, 112u8, 118u8, 118u8, 68u8, 34u8, 151u8, 165u8, ], ) } #[doc = " The metadata of the [`RoundSnapshot`]"] #[doc = ""] - #[doc = " Only exists when [`Snapshot`] is present."] pub fn snapshot_metadata (& self ,) -> :: subxt :: storage :: address :: Address :: < :: subxt :: storage :: address :: StaticStorageMapKey , runtime_types :: pallet_election_provider_multi_phase :: SolutionOrSnapshotSize , :: subxt :: storage :: address :: Yes , () , () >{ + #[doc = " Only exists when [`Snapshot`] is present."] + pub fn snapshot_metadata( + &self, + ) -> ::subxt::storage::address::Address< + ::subxt::storage::address::StaticStorageMapKey, + runtime_types::pallet_election_provider_multi_phase::SolutionOrSnapshotSize, + ::subxt::storage::address::Yes, + (), + (), + > { ::subxt::storage::address::Address::new_static( "ElectionProviderMultiPhase", "SnapshotMetadata", vec![], [ - 135u8, 122u8, 60u8, 75u8, 194u8, 240u8, 187u8, 96u8, 240u8, - 203u8, 192u8, 22u8, 117u8, 148u8, 118u8, 24u8, 240u8, 213u8, - 94u8, 22u8, 194u8, 47u8, 181u8, 245u8, 77u8, 149u8, 11u8, - 251u8, 117u8, 220u8, 205u8, 78u8, + 135u8, 122u8, 60u8, 75u8, 194u8, 240u8, 187u8, 96u8, 240u8, 203u8, + 192u8, 22u8, 117u8, 148u8, 118u8, 24u8, 240u8, 213u8, 94u8, 22u8, + 194u8, 47u8, 181u8, 245u8, 77u8, 149u8, 11u8, 251u8, 117u8, 220u8, + 205u8, 78u8, ], ) } @@ -20682,10 +20180,9 @@ pub mod api { "SignedSubmissionNextIndex", vec![], [ - 242u8, 11u8, 157u8, 105u8, 96u8, 7u8, 31u8, 20u8, 51u8, - 141u8, 182u8, 180u8, 13u8, 172u8, 155u8, 59u8, 42u8, 238u8, - 115u8, 8u8, 6u8, 137u8, 45u8, 2u8, 123u8, 187u8, 53u8, 215u8, - 19u8, 129u8, 54u8, 22u8, + 242u8, 11u8, 157u8, 105u8, 96u8, 7u8, 31u8, 20u8, 51u8, 141u8, 182u8, + 180u8, 13u8, 172u8, 155u8, 59u8, 42u8, 238u8, 115u8, 8u8, 6u8, 137u8, + 45u8, 2u8, 123u8, 187u8, 53u8, 215u8, 19u8, 129u8, 54u8, 22u8, ], ) } @@ -20713,10 +20210,10 @@ pub mod api { "SignedSubmissionIndices", vec![], [ - 228u8, 166u8, 94u8, 248u8, 71u8, 26u8, 125u8, 81u8, 32u8, - 22u8, 46u8, 185u8, 209u8, 123u8, 46u8, 17u8, 152u8, 149u8, - 222u8, 125u8, 112u8, 230u8, 29u8, 177u8, 162u8, 214u8, 66u8, - 38u8, 170u8, 121u8, 129u8, 100u8, + 228u8, 166u8, 94u8, 248u8, 71u8, 26u8, 125u8, 81u8, 32u8, 22u8, 46u8, + 185u8, 209u8, 123u8, 46u8, 17u8, 152u8, 149u8, 222u8, 125u8, 112u8, + 230u8, 29u8, 177u8, 162u8, 214u8, 66u8, 38u8, 170u8, 121u8, 129u8, + 100u8, ], ) } @@ -20726,18 +20223,32 @@ pub mod api { #[doc = " allowing us to keep only a single one in memory at a time."] #[doc = ""] #[doc = " Twox note: the key of the map is an auto-incrementing index which users cannot inspect or"] - #[doc = " affect; we shouldn't need a cryptographically secure hasher."] pub fn signed_submissions_map (& self , _0 : impl :: std :: borrow :: Borrow < :: core :: primitive :: u32 > ,) -> :: subxt :: storage :: address :: Address :: < :: subxt :: storage :: address :: StaticStorageMapKey , runtime_types :: pallet_election_provider_multi_phase :: signed :: SignedSubmission < :: subxt :: utils :: AccountId32 , :: core :: primitive :: u128 , runtime_types :: polkadot_runtime :: NposCompactSolution16 > , :: subxt :: storage :: address :: Yes , () , :: subxt :: storage :: address :: Yes >{ + #[doc = " affect; we shouldn't need a cryptographically secure hasher."] + pub fn signed_submissions_map( + &self, + _0: impl ::std::borrow::Borrow<::core::primitive::u32>, + ) -> ::subxt::storage::address::Address< + ::subxt::storage::address::StaticStorageMapKey, + runtime_types::pallet_election_provider_multi_phase::signed::SignedSubmission< + ::subxt::utils::AccountId32, + ::core::primitive::u128, + runtime_types::polkadot_runtime::NposCompactSolution16, + >, + ::subxt::storage::address::Yes, + (), + ::subxt::storage::address::Yes, + > { ::subxt::storage::address::Address::new_static( "ElectionProviderMultiPhase", "SignedSubmissionsMap", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 84u8, 65u8, 205u8, 191u8, 143u8, 246u8, 239u8, 27u8, 243u8, - 54u8, 250u8, 8u8, 125u8, 32u8, 241u8, 141u8, 210u8, 225u8, - 56u8, 101u8, 241u8, 52u8, 157u8, 29u8, 13u8, 155u8, 73u8, - 132u8, 118u8, 53u8, 2u8, 135u8, + 84u8, 65u8, 205u8, 191u8, 143u8, 246u8, 239u8, 27u8, 243u8, 54u8, + 250u8, 8u8, 125u8, 32u8, 241u8, 141u8, 210u8, 225u8, 56u8, 101u8, + 241u8, 52u8, 157u8, 29u8, 13u8, 155u8, 73u8, 132u8, 118u8, 53u8, 2u8, + 135u8, ], ) } @@ -20747,16 +20258,29 @@ pub mod api { #[doc = " allowing us to keep only a single one in memory at a time."] #[doc = ""] #[doc = " Twox note: the key of the map is an auto-incrementing index which users cannot inspect or"] - #[doc = " affect; we shouldn't need a cryptographically secure hasher."] pub fn signed_submissions_map_root (& self ,) -> :: subxt :: storage :: address :: Address :: < :: subxt :: storage :: address :: StaticStorageMapKey , runtime_types :: pallet_election_provider_multi_phase :: signed :: SignedSubmission < :: subxt :: utils :: AccountId32 , :: core :: primitive :: u128 , runtime_types :: polkadot_runtime :: NposCompactSolution16 > , () , () , :: subxt :: storage :: address :: Yes >{ + #[doc = " affect; we shouldn't need a cryptographically secure hasher."] + pub fn signed_submissions_map_root( + &self, + ) -> ::subxt::storage::address::Address< + ::subxt::storage::address::StaticStorageMapKey, + runtime_types::pallet_election_provider_multi_phase::signed::SignedSubmission< + ::subxt::utils::AccountId32, + ::core::primitive::u128, + runtime_types::polkadot_runtime::NposCompactSolution16, + >, + (), + (), + ::subxt::storage::address::Yes, + > { ::subxt::storage::address::Address::new_static( "ElectionProviderMultiPhase", "SignedSubmissionsMap", Vec::new(), [ - 84u8, 65u8, 205u8, 191u8, 143u8, 246u8, 239u8, 27u8, 243u8, - 54u8, 250u8, 8u8, 125u8, 32u8, 241u8, 141u8, 210u8, 225u8, - 56u8, 101u8, 241u8, 52u8, 157u8, 29u8, 13u8, 155u8, 73u8, - 132u8, 118u8, 53u8, 2u8, 135u8, + 84u8, 65u8, 205u8, 191u8, 143u8, 246u8, 239u8, 27u8, 243u8, 54u8, + 250u8, 8u8, 125u8, 32u8, 241u8, 141u8, 210u8, 225u8, 56u8, 101u8, + 241u8, 52u8, 157u8, 29u8, 13u8, 155u8, 73u8, 132u8, 118u8, 53u8, 2u8, + 135u8, ], ) } @@ -20778,10 +20302,9 @@ pub mod api { "MinimumUntrustedScore", vec![], [ - 77u8, 235u8, 181u8, 45u8, 230u8, 12u8, 0u8, 179u8, 152u8, - 38u8, 74u8, 199u8, 47u8, 84u8, 85u8, 55u8, 171u8, 226u8, - 217u8, 125u8, 17u8, 194u8, 95u8, 157u8, 73u8, 245u8, 75u8, - 130u8, 248u8, 7u8, 53u8, 226u8, + 77u8, 235u8, 181u8, 45u8, 230u8, 12u8, 0u8, 179u8, 152u8, 38u8, 74u8, + 199u8, 47u8, 84u8, 85u8, 55u8, 171u8, 226u8, 217u8, 125u8, 17u8, 194u8, + 95u8, 157u8, 73u8, 245u8, 75u8, 130u8, 248u8, 7u8, 53u8, 226u8, ], ) } @@ -20799,25 +20322,23 @@ pub mod api { "ElectionProviderMultiPhase", "UnsignedPhase", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " Duration of the signed phase."] - pub fn signed_phase( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn signed_phase(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "ElectionProviderMultiPhase", "SignedPhase", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -20825,17 +20346,15 @@ pub mod api { #[doc = " \"better\" in the Signed phase."] pub fn better_signed_threshold( &self, - ) -> ::subxt::constants::Address< - runtime_types::sp_arithmetic::per_things::Perbill, - > { + ) -> ::subxt::constants::Address + { ::subxt::constants::Address::new_static( "ElectionProviderMultiPhase", "BetterSignedThreshold", [ - 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, - 19u8, 87u8, 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, - 225u8, 53u8, 212u8, 52u8, 177u8, 79u8, 4u8, 116u8, 201u8, - 104u8, 222u8, 75u8, 86u8, 227u8, + 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, 19u8, 87u8, + 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, 225u8, 53u8, 212u8, 52u8, + 177u8, 79u8, 4u8, 116u8, 201u8, 104u8, 222u8, 75u8, 86u8, 227u8, ], ) } @@ -20843,17 +20362,15 @@ pub mod api { #[doc = " \"better\" in the Unsigned phase."] pub fn better_unsigned_threshold( &self, - ) -> ::subxt::constants::Address< - runtime_types::sp_arithmetic::per_things::Perbill, - > { + ) -> ::subxt::constants::Address + { ::subxt::constants::Address::new_static( "ElectionProviderMultiPhase", "BetterUnsignedThreshold", [ - 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, - 19u8, 87u8, 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, - 225u8, 53u8, 212u8, 52u8, 177u8, 79u8, 4u8, 116u8, 201u8, - 104u8, 222u8, 75u8, 86u8, 227u8, + 225u8, 236u8, 95u8, 157u8, 90u8, 94u8, 106u8, 192u8, 254u8, 19u8, 87u8, + 80u8, 16u8, 62u8, 42u8, 204u8, 136u8, 106u8, 225u8, 53u8, 212u8, 52u8, + 177u8, 79u8, 4u8, 116u8, 201u8, 104u8, 222u8, 75u8, 86u8, 227u8, ], ) } @@ -20868,10 +20385,10 @@ pub mod api { "ElectionProviderMultiPhase", "OffchainRepeat", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -20883,10 +20400,10 @@ pub mod api { "ElectionProviderMultiPhase", "MinerTxPriority", [ - 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, - 190u8, 146u8, 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, - 65u8, 18u8, 191u8, 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, - 220u8, 42u8, 184u8, 239u8, 42u8, 246u8, + 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, 190u8, 146u8, + 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, 65u8, 18u8, 191u8, + 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, 220u8, 42u8, 184u8, 239u8, 42u8, + 246u8, ], ) } @@ -20904,10 +20421,10 @@ pub mod api { "ElectionProviderMultiPhase", "SignedMaxSubmissions", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -20918,17 +20435,16 @@ pub mod api { #[doc = " this value."] pub fn signed_max_weight( &self, - ) -> ::subxt::constants::Address< - runtime_types::sp_weights::weight_v2::Weight, - > { + ) -> ::subxt::constants::Address + { ::subxt::constants::Address::new_static( "ElectionProviderMultiPhase", "SignedMaxWeight", [ - 206u8, 61u8, 253u8, 247u8, 163u8, 40u8, 161u8, 52u8, 134u8, - 140u8, 206u8, 83u8, 44u8, 166u8, 226u8, 115u8, 181u8, 14u8, - 227u8, 130u8, 210u8, 32u8, 85u8, 29u8, 230u8, 97u8, 130u8, - 165u8, 147u8, 134u8, 106u8, 76u8, + 206u8, 61u8, 253u8, 247u8, 163u8, 40u8, 161u8, 52u8, 134u8, 140u8, + 206u8, 83u8, 44u8, 166u8, 226u8, 115u8, 181u8, 14u8, 227u8, 130u8, + 210u8, 32u8, 85u8, 29u8, 230u8, 97u8, 130u8, 165u8, 147u8, 134u8, + 106u8, 76u8, ], ) } @@ -20940,74 +20456,66 @@ pub mod api { "ElectionProviderMultiPhase", "SignedMaxRefunds", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " Base reward for a signed solution"] pub fn signed_reward_base( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "ElectionProviderMultiPhase", "SignedRewardBase", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } #[doc = " Base deposit for a signed solution."] pub fn signed_deposit_base( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "ElectionProviderMultiPhase", "SignedDepositBase", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } #[doc = " Per-byte deposit for a signed solution."] pub fn signed_deposit_byte( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "ElectionProviderMultiPhase", "SignedDepositByte", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } #[doc = " Per-weight deposit for a signed solution."] pub fn signed_deposit_weight( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "ElectionProviderMultiPhase", "SignedDepositWeight", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -21021,10 +20529,10 @@ pub mod api { "ElectionProviderMultiPhase", "MaxElectingVoters", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -21036,10 +20544,9 @@ pub mod api { "ElectionProviderMultiPhase", "MaxElectableTargets", [ - 116u8, 33u8, 2u8, 170u8, 181u8, 147u8, 171u8, 169u8, 167u8, - 227u8, 41u8, 144u8, 11u8, 236u8, 82u8, 100u8, 74u8, 60u8, - 184u8, 72u8, 169u8, 90u8, 208u8, 135u8, 15u8, 117u8, 10u8, - 123u8, 128u8, 193u8, 29u8, 70u8, + 116u8, 33u8, 2u8, 170u8, 181u8, 147u8, 171u8, 169u8, 167u8, 227u8, + 41u8, 144u8, 11u8, 236u8, 82u8, 100u8, 74u8, 60u8, 184u8, 72u8, 169u8, + 90u8, 208u8, 135u8, 15u8, 117u8, 10u8, 123u8, 128u8, 193u8, 29u8, 70u8, ], ) } @@ -21047,17 +20554,15 @@ pub mod api { #[doc = " implementation."] #[doc = ""] #[doc = " Note: This must always be greater or equal to `T::DataProvider::desired_targets()`."] - pub fn max_winners( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn max_winners(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "ElectionProviderMultiPhase", "MaxWinners", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -21068,26 +20573,25 @@ pub mod api { "ElectionProviderMultiPhase", "MinerMaxLength", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } pub fn miner_max_weight( &self, - ) -> ::subxt::constants::Address< - runtime_types::sp_weights::weight_v2::Weight, - > { + ) -> ::subxt::constants::Address + { ::subxt::constants::Address::new_static( "ElectionProviderMultiPhase", "MinerMaxWeight", [ - 206u8, 61u8, 253u8, 247u8, 163u8, 40u8, 161u8, 52u8, 134u8, - 140u8, 206u8, 83u8, 44u8, 166u8, 226u8, 115u8, 181u8, 14u8, - 227u8, 130u8, 210u8, 32u8, 85u8, 29u8, 230u8, 97u8, 130u8, - 165u8, 147u8, 134u8, 106u8, 76u8, + 206u8, 61u8, 253u8, 247u8, 163u8, 40u8, 161u8, 52u8, 134u8, 140u8, + 206u8, 83u8, 44u8, 166u8, 226u8, 115u8, 181u8, 14u8, 227u8, 130u8, + 210u8, 32u8, 85u8, 29u8, 230u8, 97u8, 130u8, 165u8, 147u8, 134u8, + 106u8, 76u8, ], ) } @@ -21098,10 +20602,10 @@ pub mod api { "ElectionProviderMultiPhase", "MinerMaxVotesPerVoter", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -21126,8 +20630,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Rebag { - pub dislocated: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub dislocated: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -21139,8 +20642,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PutInFrontOf { - pub lighter: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub lighter: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, } pub struct TransactionApi; impl TransactionApi { @@ -21156,20 +20658,17 @@ pub mod api { #[doc = "If `dislocated` does not exists, it returns an error."] pub fn rebag( &self, - dislocated: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + dislocated: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "VoterList", "rebag", Rebag { dislocated }, [ - 35u8, 182u8, 31u8, 22u8, 190u8, 187u8, 31u8, 138u8, 60u8, - 48u8, 236u8, 16u8, 191u8, 143u8, 52u8, 110u8, 228u8, 43u8, - 116u8, 13u8, 171u8, 108u8, 112u8, 123u8, 252u8, 231u8, 132u8, - 97u8, 195u8, 148u8, 252u8, 241u8, + 35u8, 182u8, 31u8, 22u8, 190u8, 187u8, 31u8, 138u8, 60u8, 48u8, 236u8, + 16u8, 191u8, 143u8, 52u8, 110u8, 228u8, 43u8, 116u8, 13u8, 171u8, + 108u8, 112u8, 123u8, 252u8, 231u8, 132u8, 97u8, 195u8, 148u8, 252u8, + 241u8, ], ) } @@ -21183,20 +20682,17 @@ pub mod api { #[doc = "- and `origin` has a greater `Score` than `lighter`."] pub fn put_in_front_of( &self, - lighter: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + lighter: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "VoterList", "put_in_front_of", PutInFrontOf { lighter }, [ - 184u8, 194u8, 39u8, 91u8, 28u8, 220u8, 76u8, 199u8, 64u8, - 252u8, 233u8, 241u8, 74u8, 19u8, 246u8, 190u8, 108u8, 227u8, - 77u8, 162u8, 225u8, 230u8, 101u8, 72u8, 159u8, 217u8, 133u8, - 107u8, 84u8, 83u8, 81u8, 227u8, + 184u8, 194u8, 39u8, 91u8, 28u8, 220u8, 76u8, 199u8, 64u8, 252u8, 233u8, + 241u8, 74u8, 19u8, 246u8, 190u8, 108u8, 227u8, 77u8, 162u8, 225u8, + 230u8, 101u8, 72u8, 159u8, 217u8, 133u8, 107u8, 84u8, 83u8, 81u8, + 227u8, ], ) } @@ -21264,14 +20760,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "VoterList", "ListNodes", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 176u8, 186u8, 93u8, 51u8, 100u8, 184u8, 240u8, 29u8, 70u8, - 3u8, 117u8, 47u8, 23u8, 66u8, 231u8, 234u8, 53u8, 8u8, 234u8, - 175u8, 181u8, 8u8, 161u8, 154u8, 48u8, 178u8, 147u8, 227u8, - 122u8, 115u8, 57u8, 97u8, + 176u8, 186u8, 93u8, 51u8, 100u8, 184u8, 240u8, 29u8, 70u8, 3u8, 117u8, + 47u8, 23u8, 66u8, 231u8, 234u8, 53u8, 8u8, 234u8, 175u8, 181u8, 8u8, + 161u8, 154u8, 48u8, 178u8, 147u8, 227u8, 122u8, 115u8, 57u8, 97u8, ], ) } @@ -21292,10 +20787,9 @@ pub mod api { "ListNodes", Vec::new(), [ - 176u8, 186u8, 93u8, 51u8, 100u8, 184u8, 240u8, 29u8, 70u8, - 3u8, 117u8, 47u8, 23u8, 66u8, 231u8, 234u8, 53u8, 8u8, 234u8, - 175u8, 181u8, 8u8, 161u8, 154u8, 48u8, 178u8, 147u8, 227u8, - 122u8, 115u8, 57u8, 97u8, + 176u8, 186u8, 93u8, 51u8, 100u8, 184u8, 240u8, 29u8, 70u8, 3u8, 117u8, + 47u8, 23u8, 66u8, 231u8, 234u8, 53u8, 8u8, 234u8, 175u8, 181u8, 8u8, + 161u8, 154u8, 48u8, 178u8, 147u8, 227u8, 122u8, 115u8, 57u8, 97u8, ], ) } @@ -21314,10 +20808,9 @@ pub mod api { "CounterForListNodes", vec![], [ - 156u8, 168u8, 97u8, 33u8, 84u8, 117u8, 220u8, 89u8, 62u8, - 182u8, 24u8, 88u8, 231u8, 244u8, 41u8, 19u8, 210u8, 131u8, - 87u8, 0u8, 241u8, 230u8, 160u8, 142u8, 128u8, 153u8, 83u8, - 36u8, 88u8, 247u8, 70u8, 130u8, + 156u8, 168u8, 97u8, 33u8, 84u8, 117u8, 220u8, 89u8, 62u8, 182u8, 24u8, + 88u8, 231u8, 244u8, 41u8, 19u8, 210u8, 131u8, 87u8, 0u8, 241u8, 230u8, + 160u8, 142u8, 128u8, 153u8, 83u8, 36u8, 88u8, 247u8, 70u8, 130u8, ], ) } @@ -21337,14 +20830,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "VoterList", "ListBags", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 38u8, 86u8, 63u8, 92u8, 85u8, 59u8, 225u8, 244u8, 14u8, - 155u8, 76u8, 249u8, 153u8, 140u8, 179u8, 7u8, 96u8, 170u8, - 236u8, 179u8, 4u8, 18u8, 232u8, 146u8, 216u8, 51u8, 135u8, - 116u8, 196u8, 117u8, 143u8, 153u8, + 38u8, 86u8, 63u8, 92u8, 85u8, 59u8, 225u8, 244u8, 14u8, 155u8, 76u8, + 249u8, 153u8, 140u8, 179u8, 7u8, 96u8, 170u8, 236u8, 179u8, 4u8, 18u8, + 232u8, 146u8, 216u8, 51u8, 135u8, 116u8, 196u8, 117u8, 143u8, 153u8, ], ) } @@ -21365,10 +20857,9 @@ pub mod api { "ListBags", Vec::new(), [ - 38u8, 86u8, 63u8, 92u8, 85u8, 59u8, 225u8, 244u8, 14u8, - 155u8, 76u8, 249u8, 153u8, 140u8, 179u8, 7u8, 96u8, 170u8, - 236u8, 179u8, 4u8, 18u8, 232u8, 146u8, 216u8, 51u8, 135u8, - 116u8, 196u8, 117u8, 143u8, 153u8, + 38u8, 86u8, 63u8, 92u8, 85u8, 59u8, 225u8, 244u8, 14u8, 155u8, 76u8, + 249u8, 153u8, 140u8, 179u8, 7u8, 96u8, 170u8, 236u8, 179u8, 4u8, 18u8, + 232u8, 146u8, 216u8, 51u8, 135u8, 116u8, 196u8, 117u8, 143u8, 153u8, ], ) } @@ -21429,10 +20920,9 @@ pub mod api { "VoterList", "BagThresholds", [ - 103u8, 102u8, 255u8, 165u8, 124u8, 54u8, 5u8, 172u8, 112u8, - 234u8, 25u8, 175u8, 178u8, 19u8, 251u8, 73u8, 91u8, 192u8, - 227u8, 81u8, 249u8, 45u8, 126u8, 116u8, 7u8, 37u8, 9u8, - 200u8, 167u8, 182u8, 12u8, 131u8, + 103u8, 102u8, 255u8, 165u8, 124u8, 54u8, 5u8, 172u8, 112u8, 234u8, + 25u8, 175u8, 178u8, 19u8, 251u8, 73u8, 91u8, 192u8, 227u8, 81u8, 249u8, + 45u8, 126u8, 116u8, 7u8, 37u8, 9u8, 200u8, 167u8, 182u8, 12u8, 131u8, ], ) } @@ -21471,9 +20961,8 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BondExtra { - pub extra: runtime_types::pallet_nomination_pools::BondExtra< - ::core::primitive::u128, - >, + pub extra: + runtime_types::pallet_nomination_pools::BondExtra<::core::primitive::u128>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -21495,8 +20984,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Unbond { - pub member_account: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub member_account: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] pub unbonding_points: ::core::primitive::u128, } @@ -21523,8 +21011,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct WithdrawUnbonded { - pub member_account: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub member_account: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, pub num_slashing_spans: ::core::primitive::u32, } #[derive( @@ -21540,10 +21027,8 @@ pub mod api { #[codec(compact)] pub amount: ::core::primitive::u128, pub root: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - pub nominator: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - pub state_toggler: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub nominator: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub state_toggler: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -21558,10 +21043,8 @@ pub mod api { #[codec(compact)] pub amount: ::core::primitive::u128, pub root: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - pub nominator: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - pub state_toggler: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub nominator: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + pub state_toggler: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, pub pool_id: ::core::primitive::u32, } #[derive( @@ -21613,22 +21096,16 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetConfigs { - pub min_join_bond: runtime_types::pallet_nomination_pools::ConfigOp< - ::core::primitive::u128, - >, - pub min_create_bond: runtime_types::pallet_nomination_pools::ConfigOp< - ::core::primitive::u128, - >, - pub max_pools: runtime_types::pallet_nomination_pools::ConfigOp< - ::core::primitive::u32, - >, - pub max_members: runtime_types::pallet_nomination_pools::ConfigOp< - ::core::primitive::u32, - >, + pub min_join_bond: + runtime_types::pallet_nomination_pools::ConfigOp<::core::primitive::u128>, + pub min_create_bond: + runtime_types::pallet_nomination_pools::ConfigOp<::core::primitive::u128>, + pub max_pools: + runtime_types::pallet_nomination_pools::ConfigOp<::core::primitive::u32>, + pub max_members: + runtime_types::pallet_nomination_pools::ConfigOp<::core::primitive::u32>, pub max_members_per_pool: - runtime_types::pallet_nomination_pools::ConfigOp< - ::core::primitive::u32, - >, + runtime_types::pallet_nomination_pools::ConfigOp<::core::primitive::u32>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -21641,15 +21118,12 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct UpdateRoles { pub pool_id: ::core::primitive::u32, - pub new_root: runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt::utils::AccountId32, - >, - pub new_nominator: runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt::utils::AccountId32, - >, - pub new_state_toggler: runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt::utils::AccountId32, - >, + pub new_root: + runtime_types::pallet_nomination_pools::ConfigOp<::subxt::utils::AccountId32>, + pub new_nominator: + runtime_types::pallet_nomination_pools::ConfigOp<::subxt::utils::AccountId32>, + pub new_state_toggler: + runtime_types::pallet_nomination_pools::ConfigOp<::subxt::utils::AccountId32>, } #[derive( :: subxt :: ext :: codec :: CompactAs, @@ -21686,10 +21160,10 @@ pub mod api { "join", Join { amount, pool_id }, [ - 205u8, 66u8, 42u8, 72u8, 146u8, 148u8, 119u8, 162u8, 101u8, - 183u8, 46u8, 176u8, 221u8, 204u8, 197u8, 20u8, 75u8, 226u8, - 29u8, 118u8, 208u8, 60u8, 192u8, 247u8, 222u8, 100u8, 69u8, - 80u8, 172u8, 13u8, 69u8, 250u8, + 205u8, 66u8, 42u8, 72u8, 146u8, 148u8, 119u8, 162u8, 101u8, 183u8, + 46u8, 176u8, 221u8, 204u8, 197u8, 20u8, 75u8, 226u8, 29u8, 118u8, + 208u8, 60u8, 192u8, 247u8, 222u8, 100u8, 69u8, 80u8, 172u8, 13u8, 69u8, + 250u8, ], ) } @@ -21710,10 +21184,10 @@ pub mod api { "bond_extra", BondExtra { extra }, [ - 50u8, 72u8, 181u8, 216u8, 249u8, 27u8, 250u8, 177u8, 253u8, - 22u8, 240u8, 100u8, 184u8, 202u8, 197u8, 34u8, 21u8, 188u8, - 248u8, 191u8, 11u8, 10u8, 236u8, 161u8, 168u8, 37u8, 38u8, - 238u8, 61u8, 183u8, 86u8, 55u8, + 50u8, 72u8, 181u8, 216u8, 249u8, 27u8, 250u8, 177u8, 253u8, 22u8, + 240u8, 100u8, 184u8, 202u8, 197u8, 34u8, 21u8, 188u8, 248u8, 191u8, + 11u8, 10u8, 236u8, 161u8, 168u8, 37u8, 38u8, 238u8, 61u8, 183u8, 86u8, + 55u8, ], ) } @@ -21729,10 +21203,9 @@ pub mod api { "claim_payout", ClaimPayout {}, [ - 128u8, 58u8, 138u8, 55u8, 64u8, 16u8, 129u8, 25u8, 211u8, - 229u8, 193u8, 115u8, 47u8, 45u8, 155u8, 221u8, 218u8, 1u8, - 222u8, 5u8, 236u8, 32u8, 88u8, 0u8, 198u8, 72u8, 196u8, - 181u8, 104u8, 16u8, 212u8, 29u8, + 128u8, 58u8, 138u8, 55u8, 64u8, 16u8, 129u8, 25u8, 211u8, 229u8, 193u8, + 115u8, 47u8, 45u8, 155u8, 221u8, 218u8, 1u8, 222u8, 5u8, 236u8, 32u8, + 88u8, 0u8, 198u8, 72u8, 196u8, 181u8, 104u8, 16u8, 212u8, 29u8, ], ) } @@ -21766,10 +21239,7 @@ pub mod api { #[doc = "`NoMoreChunks` error from the staking system."] pub fn unbond( &self, - member_account: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + member_account: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, unbonding_points: ::core::primitive::u128, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( @@ -21780,10 +21250,9 @@ pub mod api { unbonding_points, }, [ - 78u8, 15u8, 37u8, 18u8, 129u8, 63u8, 31u8, 3u8, 68u8, 10u8, - 12u8, 12u8, 166u8, 179u8, 38u8, 232u8, 97u8, 1u8, 83u8, 53u8, - 26u8, 59u8, 42u8, 219u8, 176u8, 246u8, 169u8, 28u8, 35u8, - 67u8, 139u8, 81u8, + 78u8, 15u8, 37u8, 18u8, 129u8, 63u8, 31u8, 3u8, 68u8, 10u8, 12u8, 12u8, + 166u8, 179u8, 38u8, 232u8, 97u8, 1u8, 83u8, 53u8, 26u8, 59u8, 42u8, + 219u8, 176u8, 246u8, 169u8, 28u8, 35u8, 67u8, 139u8, 81u8, ], ) } @@ -21806,10 +21275,10 @@ pub mod api { num_slashing_spans, }, [ - 152u8, 245u8, 131u8, 247u8, 106u8, 214u8, 154u8, 8u8, 7u8, - 210u8, 149u8, 218u8, 118u8, 46u8, 242u8, 182u8, 191u8, 119u8, - 28u8, 199u8, 36u8, 49u8, 219u8, 123u8, 58u8, 203u8, 211u8, - 226u8, 217u8, 36u8, 56u8, 0u8, + 152u8, 245u8, 131u8, 247u8, 106u8, 214u8, 154u8, 8u8, 7u8, 210u8, + 149u8, 218u8, 118u8, 46u8, 242u8, 182u8, 191u8, 119u8, 28u8, 199u8, + 36u8, 49u8, 219u8, 123u8, 58u8, 203u8, 211u8, 226u8, 217u8, 36u8, 56u8, + 0u8, ], ) } @@ -21834,10 +21303,7 @@ pub mod api { #[doc = "If the target is the depositor, the pool will be destroyed."] pub fn withdraw_unbonded( &self, - member_account: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + member_account: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, num_slashing_spans: ::core::primitive::u32, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( @@ -21848,10 +21314,10 @@ pub mod api { num_slashing_spans, }, [ - 61u8, 216u8, 214u8, 166u8, 59u8, 42u8, 186u8, 141u8, 47u8, - 50u8, 135u8, 236u8, 166u8, 88u8, 90u8, 244u8, 57u8, 106u8, - 193u8, 211u8, 215u8, 131u8, 203u8, 33u8, 195u8, 120u8, 213u8, - 94u8, 213u8, 66u8, 79u8, 140u8, + 61u8, 216u8, 214u8, 166u8, 59u8, 42u8, 186u8, 141u8, 47u8, 50u8, 135u8, + 236u8, 166u8, 88u8, 90u8, 244u8, 57u8, 106u8, 193u8, 211u8, 215u8, + 131u8, 203u8, 33u8, 195u8, 120u8, 213u8, 94u8, 213u8, 66u8, 79u8, + 140u8, ], ) } @@ -21876,14 +21342,8 @@ pub mod api { &self, amount: ::core::primitive::u128, root: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - nominator: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, - state_toggler: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + nominator: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + state_toggler: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "NominationPools", @@ -21895,10 +21355,9 @@ pub mod api { state_toggler, }, [ - 176u8, 210u8, 154u8, 87u8, 218u8, 250u8, 117u8, 90u8, 80u8, - 191u8, 252u8, 146u8, 29u8, 228u8, 36u8, 15u8, 125u8, 102u8, - 87u8, 50u8, 146u8, 108u8, 96u8, 145u8, 135u8, 189u8, 18u8, - 159u8, 21u8, 74u8, 165u8, 33u8, + 176u8, 210u8, 154u8, 87u8, 218u8, 250u8, 117u8, 90u8, 80u8, 191u8, + 252u8, 146u8, 29u8, 228u8, 36u8, 15u8, 125u8, 102u8, 87u8, 50u8, 146u8, + 108u8, 96u8, 145u8, 135u8, 189u8, 18u8, 159u8, 21u8, 74u8, 165u8, 33u8, ], ) } @@ -21912,14 +21371,8 @@ pub mod api { &self, amount: ::core::primitive::u128, root: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - nominator: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, - state_toggler: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + nominator: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + state_toggler: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, pool_id: ::core::primitive::u32, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( @@ -21933,10 +21386,9 @@ pub mod api { pool_id, }, [ - 234u8, 228u8, 116u8, 171u8, 77u8, 41u8, 166u8, 254u8, 20u8, - 78u8, 38u8, 28u8, 144u8, 58u8, 2u8, 64u8, 11u8, 27u8, 124u8, - 215u8, 8u8, 10u8, 172u8, 189u8, 118u8, 131u8, 102u8, 191u8, - 251u8, 208u8, 167u8, 103u8, + 234u8, 228u8, 116u8, 171u8, 77u8, 41u8, 166u8, 254u8, 20u8, 78u8, 38u8, + 28u8, 144u8, 58u8, 2u8, 64u8, 11u8, 27u8, 124u8, 215u8, 8u8, 10u8, + 172u8, 189u8, 118u8, 131u8, 102u8, 191u8, 251u8, 208u8, 167u8, 103u8, ], ) } @@ -21960,10 +21412,9 @@ pub mod api { validators, }, [ - 10u8, 235u8, 64u8, 157u8, 36u8, 249u8, 186u8, 27u8, 79u8, - 172u8, 25u8, 3u8, 203u8, 19u8, 192u8, 182u8, 36u8, 103u8, - 13u8, 20u8, 89u8, 140u8, 159u8, 4u8, 132u8, 242u8, 192u8, - 146u8, 55u8, 251u8, 216u8, 255u8, + 10u8, 235u8, 64u8, 157u8, 36u8, 249u8, 186u8, 27u8, 79u8, 172u8, 25u8, + 3u8, 203u8, 19u8, 192u8, 182u8, 36u8, 103u8, 13u8, 20u8, 89u8, 140u8, + 159u8, 4u8, 132u8, 242u8, 192u8, 146u8, 55u8, 251u8, 216u8, 255u8, ], ) } @@ -21987,10 +21438,10 @@ pub mod api { "set_state", SetState { pool_id, state }, [ - 104u8, 40u8, 213u8, 88u8, 159u8, 115u8, 35u8, 249u8, 78u8, - 180u8, 99u8, 1u8, 225u8, 218u8, 192u8, 151u8, 25u8, 194u8, - 192u8, 187u8, 39u8, 170u8, 212u8, 125u8, 75u8, 250u8, 248u8, - 175u8, 159u8, 161u8, 151u8, 162u8, + 104u8, 40u8, 213u8, 88u8, 159u8, 115u8, 35u8, 249u8, 78u8, 180u8, 99u8, + 1u8, 225u8, 218u8, 192u8, 151u8, 25u8, 194u8, 192u8, 187u8, 39u8, + 170u8, 212u8, 125u8, 75u8, 250u8, 248u8, 175u8, 159u8, 161u8, 151u8, + 162u8, ], ) } @@ -22008,10 +21459,9 @@ pub mod api { "set_metadata", SetMetadata { pool_id, metadata }, [ - 156u8, 81u8, 170u8, 161u8, 34u8, 100u8, 183u8, 174u8, 5u8, - 81u8, 31u8, 76u8, 12u8, 42u8, 77u8, 1u8, 6u8, 26u8, 168u8, - 7u8, 8u8, 115u8, 158u8, 151u8, 30u8, 211u8, 52u8, 177u8, - 234u8, 87u8, 125u8, 127u8, + 156u8, 81u8, 170u8, 161u8, 34u8, 100u8, 183u8, 174u8, 5u8, 81u8, 31u8, + 76u8, 12u8, 42u8, 77u8, 1u8, 6u8, 26u8, 168u8, 7u8, 8u8, 115u8, 158u8, + 151u8, 30u8, 211u8, 52u8, 177u8, 234u8, 87u8, 125u8, 127u8, ], ) } @@ -22039,7 +21489,9 @@ pub mod api { max_members: runtime_types::pallet_nomination_pools::ConfigOp< ::core::primitive::u32, >, - max_members_per_pool : runtime_types :: pallet_nomination_pools :: ConfigOp < :: core :: primitive :: u32 >, + max_members_per_pool: runtime_types::pallet_nomination_pools::ConfigOp< + ::core::primitive::u32, + >, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "NominationPools", @@ -22052,10 +21504,9 @@ pub mod api { max_members_per_pool, }, [ - 143u8, 196u8, 211u8, 30u8, 71u8, 15u8, 150u8, 243u8, 7u8, - 178u8, 179u8, 168u8, 40u8, 116u8, 220u8, 140u8, 18u8, 206u8, - 6u8, 189u8, 190u8, 37u8, 68u8, 41u8, 45u8, 233u8, 247u8, - 172u8, 185u8, 34u8, 243u8, 187u8, + 143u8, 196u8, 211u8, 30u8, 71u8, 15u8, 150u8, 243u8, 7u8, 178u8, 179u8, + 168u8, 40u8, 116u8, 220u8, 140u8, 18u8, 206u8, 6u8, 189u8, 190u8, 37u8, + 68u8, 41u8, 45u8, 233u8, 247u8, 172u8, 185u8, 34u8, 243u8, 187u8, ], ) } @@ -22089,10 +21540,9 @@ pub mod api { new_state_toggler, }, [ - 247u8, 95u8, 234u8, 56u8, 181u8, 229u8, 158u8, 97u8, 69u8, - 165u8, 38u8, 17u8, 27u8, 209u8, 204u8, 250u8, 91u8, 193u8, - 35u8, 93u8, 215u8, 131u8, 148u8, 73u8, 67u8, 188u8, 92u8, - 32u8, 34u8, 37u8, 113u8, 93u8, + 247u8, 95u8, 234u8, 56u8, 181u8, 229u8, 158u8, 97u8, 69u8, 165u8, 38u8, + 17u8, 27u8, 209u8, 204u8, 250u8, 91u8, 193u8, 35u8, 93u8, 215u8, 131u8, + 148u8, 73u8, 67u8, 188u8, 92u8, 32u8, 34u8, 37u8, 113u8, 93u8, ], ) } @@ -22112,10 +21562,9 @@ pub mod api { "chill", Chill { pool_id }, [ - 41u8, 114u8, 128u8, 121u8, 244u8, 15u8, 15u8, 52u8, 129u8, - 88u8, 239u8, 167u8, 216u8, 38u8, 123u8, 240u8, 172u8, 229u8, - 132u8, 64u8, 175u8, 87u8, 217u8, 27u8, 11u8, 124u8, 1u8, - 140u8, 40u8, 191u8, 187u8, 36u8, + 41u8, 114u8, 128u8, 121u8, 244u8, 15u8, 15u8, 52u8, 129u8, 88u8, 239u8, + 167u8, 216u8, 38u8, 123u8, 240u8, 172u8, 229u8, 132u8, 64u8, 175u8, + 87u8, 217u8, 27u8, 11u8, 124u8, 1u8, 140u8, 40u8, 191u8, 187u8, 36u8, ], ) } @@ -22371,10 +21820,10 @@ pub mod api { "MinJoinBond", vec![], [ - 125u8, 239u8, 45u8, 225u8, 74u8, 129u8, 247u8, 184u8, 205u8, - 58u8, 45u8, 186u8, 126u8, 170u8, 112u8, 120u8, 23u8, 190u8, - 247u8, 97u8, 131u8, 126u8, 215u8, 44u8, 147u8, 122u8, 132u8, - 212u8, 217u8, 84u8, 240u8, 91u8, + 125u8, 239u8, 45u8, 225u8, 74u8, 129u8, 247u8, 184u8, 205u8, 58u8, + 45u8, 186u8, 126u8, 170u8, 112u8, 120u8, 23u8, 190u8, 247u8, 97u8, + 131u8, 126u8, 215u8, 44u8, 147u8, 122u8, 132u8, 212u8, 217u8, 84u8, + 240u8, 91u8, ], ) } @@ -22399,10 +21848,10 @@ pub mod api { "MinCreateBond", vec![], [ - 31u8, 208u8, 240u8, 158u8, 23u8, 218u8, 212u8, 138u8, 92u8, - 210u8, 207u8, 170u8, 32u8, 60u8, 5u8, 21u8, 84u8, 162u8, 1u8, - 111u8, 181u8, 243u8, 24u8, 148u8, 193u8, 253u8, 248u8, 190u8, - 16u8, 222u8, 219u8, 67u8, + 31u8, 208u8, 240u8, 158u8, 23u8, 218u8, 212u8, 138u8, 92u8, 210u8, + 207u8, 170u8, 32u8, 60u8, 5u8, 21u8, 84u8, 162u8, 1u8, 111u8, 181u8, + 243u8, 24u8, 148u8, 193u8, 253u8, 248u8, 190u8, 16u8, 222u8, 219u8, + 67u8, ], ) } @@ -22422,10 +21871,9 @@ pub mod api { "MaxPools", vec![], [ - 216u8, 111u8, 68u8, 103u8, 33u8, 50u8, 109u8, 3u8, 176u8, - 195u8, 23u8, 73u8, 112u8, 138u8, 9u8, 194u8, 233u8, 73u8, - 68u8, 215u8, 162u8, 255u8, 217u8, 173u8, 141u8, 27u8, 72u8, - 199u8, 7u8, 240u8, 25u8, 34u8, + 216u8, 111u8, 68u8, 103u8, 33u8, 50u8, 109u8, 3u8, 176u8, 195u8, 23u8, + 73u8, 112u8, 138u8, 9u8, 194u8, 233u8, 73u8, 68u8, 215u8, 162u8, 255u8, + 217u8, 173u8, 141u8, 27u8, 72u8, 199u8, 7u8, 240u8, 25u8, 34u8, ], ) } @@ -22445,10 +21893,9 @@ pub mod api { "MaxPoolMembers", vec![], [ - 82u8, 217u8, 26u8, 234u8, 223u8, 241u8, 66u8, 182u8, 43u8, - 233u8, 59u8, 242u8, 202u8, 254u8, 69u8, 50u8, 254u8, 196u8, - 166u8, 89u8, 120u8, 87u8, 76u8, 148u8, 31u8, 197u8, 49u8, - 88u8, 206u8, 41u8, 242u8, 62u8, + 82u8, 217u8, 26u8, 234u8, 223u8, 241u8, 66u8, 182u8, 43u8, 233u8, 59u8, + 242u8, 202u8, 254u8, 69u8, 50u8, 254u8, 196u8, 166u8, 89u8, 120u8, + 87u8, 76u8, 148u8, 31u8, 197u8, 49u8, 88u8, 206u8, 41u8, 242u8, 62u8, ], ) } @@ -22468,10 +21915,9 @@ pub mod api { "MaxPoolMembersPerPool", vec![], [ - 93u8, 241u8, 16u8, 169u8, 138u8, 199u8, 128u8, 149u8, 65u8, - 30u8, 55u8, 11u8, 41u8, 252u8, 83u8, 250u8, 9u8, 33u8, 152u8, - 239u8, 195u8, 147u8, 16u8, 248u8, 180u8, 153u8, 88u8, 231u8, - 248u8, 169u8, 186u8, 48u8, + 93u8, 241u8, 16u8, 169u8, 138u8, 199u8, 128u8, 149u8, 65u8, 30u8, 55u8, + 11u8, 41u8, 252u8, 83u8, 250u8, 9u8, 33u8, 152u8, 239u8, 195u8, 147u8, + 16u8, 248u8, 180u8, 153u8, 88u8, 231u8, 248u8, 169u8, 186u8, 48u8, ], ) } @@ -22489,14 +21935,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "NominationPools", "PoolMembers", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 252u8, 236u8, 201u8, 127u8, 219u8, 1u8, 19u8, 144u8, 5u8, - 108u8, 70u8, 30u8, 177u8, 232u8, 253u8, 237u8, 211u8, 91u8, - 63u8, 62u8, 155u8, 151u8, 153u8, 165u8, 206u8, 53u8, 111u8, - 31u8, 60u8, 120u8, 100u8, 249u8, + 252u8, 236u8, 201u8, 127u8, 219u8, 1u8, 19u8, 144u8, 5u8, 108u8, 70u8, + 30u8, 177u8, 232u8, 253u8, 237u8, 211u8, 91u8, 63u8, 62u8, 155u8, + 151u8, 153u8, 165u8, 206u8, 53u8, 111u8, 31u8, 60u8, 120u8, 100u8, + 249u8, ], ) } @@ -22515,10 +21961,10 @@ pub mod api { "PoolMembers", Vec::new(), [ - 252u8, 236u8, 201u8, 127u8, 219u8, 1u8, 19u8, 144u8, 5u8, - 108u8, 70u8, 30u8, 177u8, 232u8, 253u8, 237u8, 211u8, 91u8, - 63u8, 62u8, 155u8, 151u8, 153u8, 165u8, 206u8, 53u8, 111u8, - 31u8, 60u8, 120u8, 100u8, 249u8, + 252u8, 236u8, 201u8, 127u8, 219u8, 1u8, 19u8, 144u8, 5u8, 108u8, 70u8, + 30u8, 177u8, 232u8, 253u8, 237u8, 211u8, 91u8, 63u8, 62u8, 155u8, + 151u8, 153u8, 165u8, 206u8, 53u8, 111u8, 31u8, 60u8, 120u8, 100u8, + 249u8, ], ) } @@ -22537,10 +21983,10 @@ pub mod api { "CounterForPoolMembers", vec![], [ - 114u8, 126u8, 27u8, 138u8, 119u8, 44u8, 45u8, 129u8, 84u8, - 107u8, 171u8, 206u8, 117u8, 141u8, 20u8, 75u8, 229u8, 237u8, - 31u8, 229u8, 124u8, 190u8, 27u8, 124u8, 63u8, 59u8, 167u8, - 42u8, 62u8, 212u8, 160u8, 2u8, + 114u8, 126u8, 27u8, 138u8, 119u8, 44u8, 45u8, 129u8, 84u8, 107u8, + 171u8, 206u8, 117u8, 141u8, 20u8, 75u8, 229u8, 237u8, 31u8, 229u8, + 124u8, 190u8, 27u8, 124u8, 63u8, 59u8, 167u8, 42u8, 62u8, 212u8, 160u8, + 2u8, ], ) } @@ -22558,14 +22004,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "NominationPools", "BondedPools", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 34u8, 51u8, 86u8, 95u8, 237u8, 118u8, 40u8, 212u8, 128u8, - 227u8, 113u8, 6u8, 116u8, 28u8, 96u8, 223u8, 63u8, 249u8, - 33u8, 152u8, 61u8, 7u8, 205u8, 220u8, 221u8, 174u8, 207u8, - 39u8, 53u8, 176u8, 13u8, 74u8, + 34u8, 51u8, 86u8, 95u8, 237u8, 118u8, 40u8, 212u8, 128u8, 227u8, 113u8, + 6u8, 116u8, 28u8, 96u8, 223u8, 63u8, 249u8, 33u8, 152u8, 61u8, 7u8, + 205u8, 220u8, 221u8, 174u8, 207u8, 39u8, 53u8, 176u8, 13u8, 74u8, ], ) } @@ -22584,10 +22029,9 @@ pub mod api { "BondedPools", Vec::new(), [ - 34u8, 51u8, 86u8, 95u8, 237u8, 118u8, 40u8, 212u8, 128u8, - 227u8, 113u8, 6u8, 116u8, 28u8, 96u8, 223u8, 63u8, 249u8, - 33u8, 152u8, 61u8, 7u8, 205u8, 220u8, 221u8, 174u8, 207u8, - 39u8, 53u8, 176u8, 13u8, 74u8, + 34u8, 51u8, 86u8, 95u8, 237u8, 118u8, 40u8, 212u8, 128u8, 227u8, 113u8, + 6u8, 116u8, 28u8, 96u8, 223u8, 63u8, 249u8, 33u8, 152u8, 61u8, 7u8, + 205u8, 220u8, 221u8, 174u8, 207u8, 39u8, 53u8, 176u8, 13u8, 74u8, ], ) } @@ -22606,10 +22050,10 @@ pub mod api { "CounterForBondedPools", vec![], [ - 134u8, 94u8, 199u8, 73u8, 174u8, 253u8, 66u8, 242u8, 233u8, - 244u8, 140u8, 170u8, 242u8, 40u8, 41u8, 185u8, 183u8, 151u8, - 58u8, 111u8, 221u8, 225u8, 81u8, 71u8, 169u8, 219u8, 223u8, - 135u8, 8u8, 171u8, 180u8, 236u8, + 134u8, 94u8, 199u8, 73u8, 174u8, 253u8, 66u8, 242u8, 233u8, 244u8, + 140u8, 170u8, 242u8, 40u8, 41u8, 185u8, 183u8, 151u8, 58u8, 111u8, + 221u8, 225u8, 81u8, 71u8, 169u8, 219u8, 223u8, 135u8, 8u8, 171u8, + 180u8, 236u8, ], ) } @@ -22628,14 +22072,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "NominationPools", "RewardPools", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 139u8, 123u8, 46u8, 107u8, 9u8, 83u8, 141u8, 12u8, 188u8, - 225u8, 170u8, 215u8, 154u8, 21u8, 100u8, 95u8, 237u8, 245u8, - 46u8, 216u8, 199u8, 184u8, 187u8, 155u8, 8u8, 16u8, 34u8, - 177u8, 153u8, 65u8, 109u8, 198u8, + 139u8, 123u8, 46u8, 107u8, 9u8, 83u8, 141u8, 12u8, 188u8, 225u8, 170u8, + 215u8, 154u8, 21u8, 100u8, 95u8, 237u8, 245u8, 46u8, 216u8, 199u8, + 184u8, 187u8, 155u8, 8u8, 16u8, 34u8, 177u8, 153u8, 65u8, 109u8, 198u8, ], ) } @@ -22655,10 +22098,9 @@ pub mod api { "RewardPools", Vec::new(), [ - 139u8, 123u8, 46u8, 107u8, 9u8, 83u8, 141u8, 12u8, 188u8, - 225u8, 170u8, 215u8, 154u8, 21u8, 100u8, 95u8, 237u8, 245u8, - 46u8, 216u8, 199u8, 184u8, 187u8, 155u8, 8u8, 16u8, 34u8, - 177u8, 153u8, 65u8, 109u8, 198u8, + 139u8, 123u8, 46u8, 107u8, 9u8, 83u8, 141u8, 12u8, 188u8, 225u8, 170u8, + 215u8, 154u8, 21u8, 100u8, 95u8, 237u8, 245u8, 46u8, 216u8, 199u8, + 184u8, 187u8, 155u8, 8u8, 16u8, 34u8, 177u8, 153u8, 65u8, 109u8, 198u8, ], ) } @@ -22677,10 +22119,10 @@ pub mod api { "CounterForRewardPools", vec![], [ - 209u8, 139u8, 212u8, 116u8, 210u8, 178u8, 213u8, 38u8, 75u8, - 23u8, 188u8, 57u8, 253u8, 213u8, 95u8, 118u8, 182u8, 250u8, - 45u8, 205u8, 17u8, 175u8, 17u8, 201u8, 234u8, 14u8, 98u8, - 49u8, 143u8, 135u8, 201u8, 81u8, + 209u8, 139u8, 212u8, 116u8, 210u8, 178u8, 213u8, 38u8, 75u8, 23u8, + 188u8, 57u8, 253u8, 213u8, 95u8, 118u8, 182u8, 250u8, 45u8, 205u8, + 17u8, 175u8, 17u8, 201u8, 234u8, 14u8, 98u8, 49u8, 143u8, 135u8, 201u8, + 81u8, ], ) } @@ -22699,14 +22141,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "NominationPools", "SubPoolsStorage", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 231u8, 13u8, 111u8, 248u8, 1u8, 208u8, 179u8, 134u8, 224u8, - 196u8, 94u8, 201u8, 229u8, 29u8, 155u8, 211u8, 163u8, 150u8, - 157u8, 34u8, 68u8, 238u8, 55u8, 4u8, 222u8, 96u8, 186u8, - 29u8, 205u8, 237u8, 80u8, 42u8, + 231u8, 13u8, 111u8, 248u8, 1u8, 208u8, 179u8, 134u8, 224u8, 196u8, + 94u8, 201u8, 229u8, 29u8, 155u8, 211u8, 163u8, 150u8, 157u8, 34u8, + 68u8, 238u8, 55u8, 4u8, 222u8, 96u8, 186u8, 29u8, 205u8, 237u8, 80u8, + 42u8, ], ) } @@ -22726,10 +22168,10 @@ pub mod api { "SubPoolsStorage", Vec::new(), [ - 231u8, 13u8, 111u8, 248u8, 1u8, 208u8, 179u8, 134u8, 224u8, - 196u8, 94u8, 201u8, 229u8, 29u8, 155u8, 211u8, 163u8, 150u8, - 157u8, 34u8, 68u8, 238u8, 55u8, 4u8, 222u8, 96u8, 186u8, - 29u8, 205u8, 237u8, 80u8, 42u8, + 231u8, 13u8, 111u8, 248u8, 1u8, 208u8, 179u8, 134u8, 224u8, 196u8, + 94u8, 201u8, 229u8, 29u8, 155u8, 211u8, 163u8, 150u8, 157u8, 34u8, + 68u8, 238u8, 55u8, 4u8, 222u8, 96u8, 186u8, 29u8, 205u8, 237u8, 80u8, + 42u8, ], ) } @@ -22748,10 +22190,9 @@ pub mod api { "CounterForSubPoolsStorage", vec![], [ - 212u8, 145u8, 212u8, 226u8, 234u8, 31u8, 26u8, 240u8, 107u8, - 91u8, 171u8, 120u8, 41u8, 195u8, 16u8, 86u8, 55u8, 127u8, - 103u8, 93u8, 128u8, 48u8, 69u8, 104u8, 168u8, 236u8, 81u8, - 54u8, 2u8, 184u8, 215u8, 51u8, + 212u8, 145u8, 212u8, 226u8, 234u8, 31u8, 26u8, 240u8, 107u8, 91u8, + 171u8, 120u8, 41u8, 195u8, 16u8, 86u8, 55u8, 127u8, 103u8, 93u8, 128u8, + 48u8, 69u8, 104u8, 168u8, 236u8, 81u8, 54u8, 2u8, 184u8, 215u8, 51u8, ], ) } @@ -22761,9 +22202,7 @@ pub mod api { _0: impl ::std::borrow::Borrow<::core::primitive::u32>, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::sp_core::bounded::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, + runtime_types::sp_core::bounded::bounded_vec::BoundedVec<::core::primitive::u8>, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, @@ -22771,14 +22210,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "NominationPools", "Metadata", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 108u8, 250u8, 163u8, 54u8, 192u8, 143u8, 239u8, 62u8, 97u8, - 163u8, 161u8, 215u8, 171u8, 225u8, 49u8, 18u8, 37u8, 200u8, - 143u8, 254u8, 136u8, 26u8, 54u8, 187u8, 39u8, 3u8, 216u8, - 24u8, 188u8, 25u8, 243u8, 251u8, + 108u8, 250u8, 163u8, 54u8, 192u8, 143u8, 239u8, 62u8, 97u8, 163u8, + 161u8, 215u8, 171u8, 225u8, 49u8, 18u8, 37u8, 200u8, 143u8, 254u8, + 136u8, 26u8, 54u8, 187u8, 39u8, 3u8, 216u8, 24u8, 188u8, 25u8, 243u8, + 251u8, ], ) } @@ -22787,9 +22226,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::sp_core::bounded::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, + runtime_types::sp_core::bounded::bounded_vec::BoundedVec<::core::primitive::u8>, (), ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, @@ -22799,10 +22236,10 @@ pub mod api { "Metadata", Vec::new(), [ - 108u8, 250u8, 163u8, 54u8, 192u8, 143u8, 239u8, 62u8, 97u8, - 163u8, 161u8, 215u8, 171u8, 225u8, 49u8, 18u8, 37u8, 200u8, - 143u8, 254u8, 136u8, 26u8, 54u8, 187u8, 39u8, 3u8, 216u8, - 24u8, 188u8, 25u8, 243u8, 251u8, + 108u8, 250u8, 163u8, 54u8, 192u8, 143u8, 239u8, 62u8, 97u8, 163u8, + 161u8, 215u8, 171u8, 225u8, 49u8, 18u8, 37u8, 200u8, 143u8, 254u8, + 136u8, 26u8, 54u8, 187u8, 39u8, 3u8, 216u8, 24u8, 188u8, 25u8, 243u8, + 251u8, ], ) } @@ -22821,10 +22258,10 @@ pub mod api { "CounterForMetadata", vec![], [ - 190u8, 232u8, 77u8, 134u8, 245u8, 89u8, 160u8, 187u8, 163u8, - 68u8, 188u8, 204u8, 31u8, 145u8, 219u8, 165u8, 213u8, 1u8, - 167u8, 90u8, 175u8, 218u8, 147u8, 144u8, 158u8, 226u8, 23u8, - 233u8, 55u8, 168u8, 161u8, 237u8, + 190u8, 232u8, 77u8, 134u8, 245u8, 89u8, 160u8, 187u8, 163u8, 68u8, + 188u8, 204u8, 31u8, 145u8, 219u8, 165u8, 213u8, 1u8, 167u8, 90u8, + 175u8, 218u8, 147u8, 144u8, 158u8, 226u8, 23u8, 233u8, 55u8, 168u8, + 161u8, 237u8, ], ) } @@ -22843,10 +22280,9 @@ pub mod api { "LastPoolId", vec![], [ - 50u8, 254u8, 218u8, 41u8, 213u8, 184u8, 170u8, 166u8, 31u8, - 29u8, 196u8, 57u8, 215u8, 20u8, 40u8, 40u8, 19u8, 22u8, 9u8, - 184u8, 11u8, 21u8, 21u8, 125u8, 97u8, 38u8, 219u8, 209u8, - 2u8, 238u8, 247u8, 51u8, + 50u8, 254u8, 218u8, 41u8, 213u8, 184u8, 170u8, 166u8, 31u8, 29u8, + 196u8, 57u8, 215u8, 20u8, 40u8, 40u8, 19u8, 22u8, 9u8, 184u8, 11u8, + 21u8, 21u8, 125u8, 97u8, 38u8, 219u8, 209u8, 2u8, 238u8, 247u8, 51u8, ], ) } @@ -22867,14 +22303,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "NominationPools", "ReversePoolIdLookup", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 178u8, 161u8, 51u8, 220u8, 128u8, 1u8, 135u8, 83u8, 236u8, - 159u8, 36u8, 237u8, 120u8, 128u8, 6u8, 191u8, 41u8, 159u8, - 94u8, 178u8, 174u8, 235u8, 221u8, 173u8, 44u8, 81u8, 211u8, - 255u8, 231u8, 81u8, 16u8, 87u8, + 178u8, 161u8, 51u8, 220u8, 128u8, 1u8, 135u8, 83u8, 236u8, 159u8, 36u8, + 237u8, 120u8, 128u8, 6u8, 191u8, 41u8, 159u8, 94u8, 178u8, 174u8, + 235u8, 221u8, 173u8, 44u8, 81u8, 211u8, 255u8, 231u8, 81u8, 16u8, 87u8, ], ) } @@ -22896,10 +22331,9 @@ pub mod api { "ReversePoolIdLookup", Vec::new(), [ - 178u8, 161u8, 51u8, 220u8, 128u8, 1u8, 135u8, 83u8, 236u8, - 159u8, 36u8, 237u8, 120u8, 128u8, 6u8, 191u8, 41u8, 159u8, - 94u8, 178u8, 174u8, 235u8, 221u8, 173u8, 44u8, 81u8, 211u8, - 255u8, 231u8, 81u8, 16u8, 87u8, + 178u8, 161u8, 51u8, 220u8, 128u8, 1u8, 135u8, 83u8, 236u8, 159u8, 36u8, + 237u8, 120u8, 128u8, 6u8, 191u8, 41u8, 159u8, 94u8, 178u8, 174u8, + 235u8, 221u8, 173u8, 44u8, 81u8, 211u8, 255u8, 231u8, 81u8, 16u8, 87u8, ], ) } @@ -22918,10 +22352,10 @@ pub mod api { "CounterForReversePoolIdLookup", vec![], [ - 148u8, 83u8, 81u8, 33u8, 188u8, 72u8, 148u8, 208u8, 245u8, - 178u8, 52u8, 245u8, 229u8, 140u8, 100u8, 152u8, 8u8, 217u8, - 161u8, 80u8, 226u8, 42u8, 15u8, 252u8, 90u8, 197u8, 120u8, - 114u8, 144u8, 90u8, 199u8, 123u8, + 148u8, 83u8, 81u8, 33u8, 188u8, 72u8, 148u8, 208u8, 245u8, 178u8, 52u8, + 245u8, 229u8, 140u8, 100u8, 152u8, 8u8, 217u8, 161u8, 80u8, 226u8, + 42u8, 15u8, 252u8, 90u8, 197u8, 120u8, 114u8, 144u8, 90u8, 199u8, + 123u8, ], ) } @@ -22940,10 +22374,9 @@ pub mod api { "NominationPools", "PalletId", [ - 139u8, 109u8, 228u8, 151u8, 252u8, 32u8, 130u8, 69u8, 112u8, - 154u8, 174u8, 45u8, 83u8, 245u8, 51u8, 132u8, 173u8, 5u8, - 186u8, 24u8, 243u8, 9u8, 12u8, 214u8, 80u8, 74u8, 69u8, - 189u8, 30u8, 94u8, 22u8, 39u8, + 139u8, 109u8, 228u8, 151u8, 252u8, 32u8, 130u8, 69u8, 112u8, 154u8, + 174u8, 45u8, 83u8, 245u8, 51u8, 132u8, 173u8, 5u8, 186u8, 24u8, 243u8, + 9u8, 12u8, 214u8, 80u8, 74u8, 69u8, 189u8, 30u8, 94u8, 22u8, 39u8, ], ) } @@ -22966,10 +22399,10 @@ pub mod api { "NominationPools", "MaxPointsToBalance", [ - 141u8, 130u8, 11u8, 35u8, 226u8, 114u8, 92u8, 179u8, 168u8, - 110u8, 28u8, 91u8, 221u8, 64u8, 4u8, 148u8, 201u8, 193u8, - 185u8, 66u8, 226u8, 114u8, 97u8, 79u8, 62u8, 212u8, 202u8, - 114u8, 237u8, 228u8, 183u8, 165u8, + 141u8, 130u8, 11u8, 35u8, 226u8, 114u8, 92u8, 179u8, 168u8, 110u8, + 28u8, 91u8, 221u8, 64u8, 4u8, 148u8, 201u8, 193u8, 185u8, 66u8, 226u8, + 114u8, 97u8, 79u8, 62u8, 212u8, 202u8, 114u8, 237u8, 228u8, 183u8, + 165u8, ], ) } @@ -23037,18 +22470,16 @@ pub mod api { #[doc = "If the check fails, the stash remains chilled and waiting for being unbonded as in with"] #[doc = "the normal staking system, but they lose part of their unbonding chunks due to consuming"] #[doc = "the chain's resources."] - pub fn register_fast_unstake( - &self, - ) -> ::subxt::tx::Payload { + pub fn register_fast_unstake(&self) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "FastUnstake", "register_fast_unstake", RegisterFastUnstake {}, [ - 254u8, 85u8, 128u8, 135u8, 172u8, 170u8, 34u8, 145u8, 79u8, - 117u8, 234u8, 90u8, 16u8, 174u8, 159u8, 197u8, 27u8, 239u8, - 180u8, 85u8, 116u8, 23u8, 254u8, 30u8, 197u8, 110u8, 48u8, - 184u8, 177u8, 129u8, 42u8, 122u8, + 254u8, 85u8, 128u8, 135u8, 172u8, 170u8, 34u8, 145u8, 79u8, 117u8, + 234u8, 90u8, 16u8, 174u8, 159u8, 197u8, 27u8, 239u8, 180u8, 85u8, + 116u8, 23u8, 254u8, 30u8, 197u8, 110u8, 48u8, 184u8, 177u8, 129u8, + 42u8, 122u8, ], ) } @@ -23065,10 +22496,10 @@ pub mod api { "deregister", Deregister {}, [ - 198u8, 180u8, 253u8, 148u8, 124u8, 145u8, 175u8, 121u8, 42u8, - 181u8, 41u8, 155u8, 229u8, 181u8, 66u8, 140u8, 103u8, 86u8, - 242u8, 155u8, 192u8, 34u8, 157u8, 107u8, 211u8, 162u8, 1u8, - 144u8, 35u8, 252u8, 88u8, 21u8, + 198u8, 180u8, 253u8, 148u8, 124u8, 145u8, 175u8, 121u8, 42u8, 181u8, + 41u8, 155u8, 229u8, 181u8, 66u8, 140u8, 103u8, 86u8, 242u8, 155u8, + 192u8, 34u8, 157u8, 107u8, 211u8, 162u8, 1u8, 144u8, 35u8, 252u8, 88u8, + 21u8, ], ) } @@ -23086,10 +22517,9 @@ pub mod api { unchecked_eras_to_check, }, [ - 134u8, 85u8, 43u8, 231u8, 209u8, 34u8, 248u8, 0u8, 238u8, - 73u8, 175u8, 105u8, 40u8, 128u8, 186u8, 40u8, 211u8, 106u8, - 107u8, 206u8, 124u8, 155u8, 220u8, 125u8, 143u8, 10u8, 162u8, - 20u8, 99u8, 142u8, 243u8, 5u8, + 134u8, 85u8, 43u8, 231u8, 209u8, 34u8, 248u8, 0u8, 238u8, 73u8, 175u8, + 105u8, 40u8, 128u8, 186u8, 40u8, 211u8, 106u8, 107u8, 206u8, 124u8, + 155u8, 220u8, 125u8, 143u8, 10u8, 162u8, 20u8, 99u8, 142u8, 243u8, 5u8, ], ) } @@ -23111,8 +22541,7 @@ pub mod api { #[doc = "A staker was unstaked."] pub struct Unstaked { pub stash: ::subxt::utils::AccountId32, - pub result: - ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, + pub result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, } impl ::subxt::events::StaticEvent for Unstaked { const PALLET: &'static str = "FastUnstake"; @@ -23224,10 +22653,9 @@ pub mod api { "Head", vec![], [ - 206u8, 19u8, 169u8, 239u8, 214u8, 136u8, 16u8, 102u8, 82u8, - 110u8, 128u8, 205u8, 102u8, 96u8, 148u8, 190u8, 67u8, 75u8, - 2u8, 213u8, 134u8, 143u8, 40u8, 57u8, 54u8, 66u8, 170u8, - 42u8, 135u8, 212u8, 108u8, 177u8, + 206u8, 19u8, 169u8, 239u8, 214u8, 136u8, 16u8, 102u8, 82u8, 110u8, + 128u8, 205u8, 102u8, 96u8, 148u8, 190u8, 67u8, 75u8, 2u8, 213u8, 134u8, + 143u8, 40u8, 57u8, 54u8, 66u8, 170u8, 42u8, 135u8, 212u8, 108u8, 177u8, ], ) } @@ -23247,14 +22675,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "FastUnstake", "Queue", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 250u8, 208u8, 88u8, 68u8, 8u8, 87u8, 27u8, 59u8, 120u8, - 242u8, 79u8, 54u8, 108u8, 15u8, 62u8, 143u8, 126u8, 66u8, - 159u8, 159u8, 55u8, 212u8, 190u8, 26u8, 171u8, 90u8, 156u8, - 205u8, 173u8, 189u8, 230u8, 71u8, + 250u8, 208u8, 88u8, 68u8, 8u8, 87u8, 27u8, 59u8, 120u8, 242u8, 79u8, + 54u8, 108u8, 15u8, 62u8, 143u8, 126u8, 66u8, 159u8, 159u8, 55u8, 212u8, + 190u8, 26u8, 171u8, 90u8, 156u8, 205u8, 173u8, 189u8, 230u8, 71u8, ], ) } @@ -23275,10 +22702,9 @@ pub mod api { "Queue", Vec::new(), [ - 250u8, 208u8, 88u8, 68u8, 8u8, 87u8, 27u8, 59u8, 120u8, - 242u8, 79u8, 54u8, 108u8, 15u8, 62u8, 143u8, 126u8, 66u8, - 159u8, 159u8, 55u8, 212u8, 190u8, 26u8, 171u8, 90u8, 156u8, - 205u8, 173u8, 189u8, 230u8, 71u8, + 250u8, 208u8, 88u8, 68u8, 8u8, 87u8, 27u8, 59u8, 120u8, 242u8, 79u8, + 54u8, 108u8, 15u8, 62u8, 143u8, 126u8, 66u8, 159u8, 159u8, 55u8, 212u8, + 190u8, 26u8, 171u8, 90u8, 156u8, 205u8, 173u8, 189u8, 230u8, 71u8, ], ) } @@ -23297,10 +22723,9 @@ pub mod api { "CounterForQueue", vec![], [ - 241u8, 174u8, 224u8, 214u8, 204u8, 37u8, 117u8, 62u8, 114u8, - 63u8, 123u8, 121u8, 201u8, 128u8, 26u8, 60u8, 170u8, 24u8, - 112u8, 5u8, 248u8, 7u8, 143u8, 17u8, 150u8, 91u8, 23u8, 90u8, - 237u8, 4u8, 138u8, 210u8, + 241u8, 174u8, 224u8, 214u8, 204u8, 37u8, 117u8, 62u8, 114u8, 63u8, + 123u8, 121u8, 201u8, 128u8, 26u8, 60u8, 170u8, 24u8, 112u8, 5u8, 248u8, + 7u8, 143u8, 17u8, 150u8, 91u8, 23u8, 90u8, 237u8, 4u8, 138u8, 210u8, ], ) } @@ -23324,10 +22749,9 @@ pub mod api { "ErasToCheckPerBlock", vec![], [ - 85u8, 55u8, 18u8, 11u8, 75u8, 176u8, 36u8, 253u8, 183u8, - 250u8, 203u8, 178u8, 201u8, 79u8, 101u8, 89u8, 51u8, 142u8, - 254u8, 23u8, 49u8, 140u8, 195u8, 116u8, 66u8, 124u8, 165u8, - 161u8, 151u8, 174u8, 37u8, 51u8, + 85u8, 55u8, 18u8, 11u8, 75u8, 176u8, 36u8, 253u8, 183u8, 250u8, 203u8, + 178u8, 201u8, 79u8, 101u8, 89u8, 51u8, 142u8, 254u8, 23u8, 49u8, 140u8, + 195u8, 116u8, 66u8, 124u8, 165u8, 161u8, 151u8, 174u8, 37u8, 51u8, ], ) } @@ -23937,10 +23361,10 @@ pub mod api { "set_validation_upgrade_cooldown", SetValidationUpgradeCooldown { new }, [ - 109u8, 185u8, 0u8, 59u8, 177u8, 198u8, 76u8, 90u8, 108u8, - 190u8, 56u8, 126u8, 147u8, 110u8, 76u8, 111u8, 38u8, 200u8, - 230u8, 144u8, 42u8, 167u8, 175u8, 220u8, 102u8, 37u8, 60u8, - 10u8, 118u8, 79u8, 146u8, 203u8, + 109u8, 185u8, 0u8, 59u8, 177u8, 198u8, 76u8, 90u8, 108u8, 190u8, 56u8, + 126u8, 147u8, 110u8, 76u8, 111u8, 38u8, 200u8, 230u8, 144u8, 42u8, + 167u8, 175u8, 220u8, 102u8, 37u8, 60u8, 10u8, 118u8, 79u8, 146u8, + 203u8, ], ) } @@ -23954,10 +23378,10 @@ pub mod api { "set_validation_upgrade_delay", SetValidationUpgradeDelay { new }, [ - 18u8, 130u8, 158u8, 253u8, 160u8, 194u8, 220u8, 120u8, 9u8, - 68u8, 232u8, 176u8, 34u8, 81u8, 200u8, 236u8, 141u8, 139u8, - 62u8, 110u8, 76u8, 9u8, 218u8, 69u8, 55u8, 2u8, 233u8, 109u8, - 83u8, 117u8, 141u8, 253u8, + 18u8, 130u8, 158u8, 253u8, 160u8, 194u8, 220u8, 120u8, 9u8, 68u8, + 232u8, 176u8, 34u8, 81u8, 200u8, 236u8, 141u8, 139u8, 62u8, 110u8, + 76u8, 9u8, 218u8, 69u8, 55u8, 2u8, 233u8, 109u8, 83u8, 117u8, 141u8, + 253u8, ], ) } @@ -23971,10 +23395,10 @@ pub mod api { "set_code_retention_period", SetCodeRetentionPeriod { new }, [ - 221u8, 140u8, 253u8, 111u8, 64u8, 236u8, 93u8, 52u8, 214u8, - 245u8, 178u8, 30u8, 77u8, 166u8, 242u8, 252u8, 203u8, 106u8, - 12u8, 195u8, 27u8, 159u8, 96u8, 197u8, 145u8, 69u8, 241u8, - 59u8, 74u8, 220u8, 62u8, 205u8, + 221u8, 140u8, 253u8, 111u8, 64u8, 236u8, 93u8, 52u8, 214u8, 245u8, + 178u8, 30u8, 77u8, 166u8, 242u8, 252u8, 203u8, 106u8, 12u8, 195u8, + 27u8, 159u8, 96u8, 197u8, 145u8, 69u8, 241u8, 59u8, 74u8, 220u8, 62u8, + 205u8, ], ) } @@ -23988,10 +23412,10 @@ pub mod api { "set_max_code_size", SetMaxCodeSize { new }, [ - 232u8, 106u8, 45u8, 195u8, 27u8, 162u8, 188u8, 213u8, 137u8, - 13u8, 123u8, 89u8, 215u8, 141u8, 231u8, 82u8, 205u8, 215u8, - 73u8, 142u8, 115u8, 109u8, 132u8, 118u8, 194u8, 211u8, 82u8, - 20u8, 75u8, 55u8, 218u8, 46u8, + 232u8, 106u8, 45u8, 195u8, 27u8, 162u8, 188u8, 213u8, 137u8, 13u8, + 123u8, 89u8, 215u8, 141u8, 231u8, 82u8, 205u8, 215u8, 73u8, 142u8, + 115u8, 109u8, 132u8, 118u8, 194u8, 211u8, 82u8, 20u8, 75u8, 55u8, + 218u8, 46u8, ], ) } @@ -24005,10 +23429,9 @@ pub mod api { "set_max_pov_size", SetMaxPovSize { new }, [ - 15u8, 176u8, 13u8, 19u8, 177u8, 160u8, 211u8, 238u8, 29u8, - 194u8, 187u8, 235u8, 244u8, 65u8, 158u8, 47u8, 102u8, 221u8, - 95u8, 10u8, 21u8, 33u8, 219u8, 234u8, 82u8, 122u8, 75u8, - 53u8, 14u8, 126u8, 218u8, 23u8, + 15u8, 176u8, 13u8, 19u8, 177u8, 160u8, 211u8, 238u8, 29u8, 194u8, + 187u8, 235u8, 244u8, 65u8, 158u8, 47u8, 102u8, 221u8, 95u8, 10u8, 21u8, + 33u8, 219u8, 234u8, 82u8, 122u8, 75u8, 53u8, 14u8, 126u8, 218u8, 23u8, ], ) } @@ -24022,10 +23445,9 @@ pub mod api { "set_max_head_data_size", SetMaxHeadDataSize { new }, [ - 219u8, 128u8, 213u8, 65u8, 190u8, 224u8, 87u8, 80u8, 172u8, - 112u8, 160u8, 229u8, 52u8, 1u8, 189u8, 125u8, 177u8, 139u8, - 103u8, 39u8, 21u8, 125u8, 62u8, 177u8, 74u8, 25u8, 41u8, - 11u8, 200u8, 79u8, 139u8, 171u8, + 219u8, 128u8, 213u8, 65u8, 190u8, 224u8, 87u8, 80u8, 172u8, 112u8, + 160u8, 229u8, 52u8, 1u8, 189u8, 125u8, 177u8, 139u8, 103u8, 39u8, 21u8, + 125u8, 62u8, 177u8, 74u8, 25u8, 41u8, 11u8, 200u8, 79u8, 139u8, 171u8, ], ) } @@ -24039,10 +23461,10 @@ pub mod api { "set_parathread_cores", SetParathreadCores { new }, [ - 155u8, 102u8, 168u8, 202u8, 236u8, 87u8, 16u8, 128u8, 141u8, - 99u8, 154u8, 162u8, 216u8, 198u8, 236u8, 233u8, 104u8, 230u8, - 137u8, 132u8, 41u8, 106u8, 167u8, 81u8, 195u8, 172u8, 107u8, - 28u8, 138u8, 254u8, 180u8, 61u8, + 155u8, 102u8, 168u8, 202u8, 236u8, 87u8, 16u8, 128u8, 141u8, 99u8, + 154u8, 162u8, 216u8, 198u8, 236u8, 233u8, 104u8, 230u8, 137u8, 132u8, + 41u8, 106u8, 167u8, 81u8, 195u8, 172u8, 107u8, 28u8, 138u8, 254u8, + 180u8, 61u8, ], ) } @@ -24056,10 +23478,9 @@ pub mod api { "set_parathread_retries", SetParathreadRetries { new }, [ - 192u8, 81u8, 152u8, 41u8, 40u8, 3u8, 251u8, 205u8, 244u8, - 133u8, 42u8, 197u8, 21u8, 221u8, 80u8, 196u8, 222u8, 69u8, - 153u8, 39u8, 161u8, 90u8, 4u8, 38u8, 167u8, 131u8, 237u8, - 42u8, 135u8, 37u8, 156u8, 108u8, + 192u8, 81u8, 152u8, 41u8, 40u8, 3u8, 251u8, 205u8, 244u8, 133u8, 42u8, + 197u8, 21u8, 221u8, 80u8, 196u8, 222u8, 69u8, 153u8, 39u8, 161u8, 90u8, + 4u8, 38u8, 167u8, 131u8, 237u8, 42u8, 135u8, 37u8, 156u8, 108u8, ], ) } @@ -24073,10 +23494,10 @@ pub mod api { "set_group_rotation_frequency", SetGroupRotationFrequency { new }, [ - 205u8, 222u8, 129u8, 36u8, 136u8, 186u8, 114u8, 70u8, 214u8, - 22u8, 112u8, 65u8, 56u8, 42u8, 103u8, 93u8, 108u8, 242u8, - 188u8, 229u8, 150u8, 19u8, 12u8, 222u8, 25u8, 254u8, 48u8, - 218u8, 200u8, 208u8, 132u8, 251u8, + 205u8, 222u8, 129u8, 36u8, 136u8, 186u8, 114u8, 70u8, 214u8, 22u8, + 112u8, 65u8, 56u8, 42u8, 103u8, 93u8, 108u8, 242u8, 188u8, 229u8, + 150u8, 19u8, 12u8, 222u8, 25u8, 254u8, 48u8, 218u8, 200u8, 208u8, + 132u8, 251u8, ], ) } @@ -24090,10 +23511,9 @@ pub mod api { "set_chain_availability_period", SetChainAvailabilityPeriod { new }, [ - 171u8, 21u8, 54u8, 241u8, 19u8, 100u8, 54u8, 143u8, 97u8, - 191u8, 193u8, 96u8, 7u8, 86u8, 255u8, 109u8, 255u8, 93u8, - 113u8, 28u8, 182u8, 75u8, 120u8, 208u8, 91u8, 125u8, 156u8, - 38u8, 56u8, 230u8, 24u8, 139u8, + 171u8, 21u8, 54u8, 241u8, 19u8, 100u8, 54u8, 143u8, 97u8, 191u8, 193u8, + 96u8, 7u8, 86u8, 255u8, 109u8, 255u8, 93u8, 113u8, 28u8, 182u8, 75u8, + 120u8, 208u8, 91u8, 125u8, 156u8, 38u8, 56u8, 230u8, 24u8, 139u8, ], ) } @@ -24107,10 +23527,9 @@ pub mod api { "set_thread_availability_period", SetThreadAvailabilityPeriod { new }, [ - 208u8, 27u8, 246u8, 33u8, 90u8, 200u8, 75u8, 177u8, 19u8, - 107u8, 236u8, 43u8, 159u8, 156u8, 184u8, 10u8, 146u8, 71u8, - 212u8, 129u8, 44u8, 19u8, 162u8, 172u8, 162u8, 46u8, 166u8, - 10u8, 67u8, 112u8, 206u8, 50u8, + 208u8, 27u8, 246u8, 33u8, 90u8, 200u8, 75u8, 177u8, 19u8, 107u8, 236u8, + 43u8, 159u8, 156u8, 184u8, 10u8, 146u8, 71u8, 212u8, 129u8, 44u8, 19u8, + 162u8, 172u8, 162u8, 46u8, 166u8, 10u8, 67u8, 112u8, 206u8, 50u8, ], ) } @@ -24124,10 +23543,10 @@ pub mod api { "set_scheduling_lookahead", SetSchedulingLookahead { new }, [ - 220u8, 74u8, 0u8, 150u8, 45u8, 29u8, 56u8, 210u8, 66u8, 12u8, - 119u8, 176u8, 103u8, 24u8, 216u8, 55u8, 211u8, 120u8, 233u8, - 204u8, 167u8, 100u8, 199u8, 157u8, 186u8, 174u8, 40u8, 218u8, - 19u8, 230u8, 253u8, 7u8, + 220u8, 74u8, 0u8, 150u8, 45u8, 29u8, 56u8, 210u8, 66u8, 12u8, 119u8, + 176u8, 103u8, 24u8, 216u8, 55u8, 211u8, 120u8, 233u8, 204u8, 167u8, + 100u8, 199u8, 157u8, 186u8, 174u8, 40u8, 218u8, 19u8, 230u8, 253u8, + 7u8, ], ) } @@ -24141,10 +23560,10 @@ pub mod api { "set_max_validators_per_core", SetMaxValidatorsPerCore { new }, [ - 227u8, 113u8, 192u8, 116u8, 114u8, 171u8, 27u8, 22u8, 84u8, - 117u8, 146u8, 152u8, 94u8, 101u8, 14u8, 52u8, 228u8, 170u8, - 163u8, 82u8, 248u8, 130u8, 32u8, 103u8, 225u8, 151u8, 145u8, - 36u8, 98u8, 158u8, 6u8, 245u8, + 227u8, 113u8, 192u8, 116u8, 114u8, 171u8, 27u8, 22u8, 84u8, 117u8, + 146u8, 152u8, 94u8, 101u8, 14u8, 52u8, 228u8, 170u8, 163u8, 82u8, + 248u8, 130u8, 32u8, 103u8, 225u8, 151u8, 145u8, 36u8, 98u8, 158u8, 6u8, + 245u8, ], ) } @@ -24158,10 +23577,9 @@ pub mod api { "set_max_validators", SetMaxValidators { new }, [ - 143u8, 212u8, 59u8, 147u8, 4u8, 55u8, 142u8, 209u8, 237u8, - 76u8, 7u8, 178u8, 41u8, 81u8, 4u8, 203u8, 184u8, 149u8, 32u8, - 1u8, 106u8, 180u8, 121u8, 20u8, 137u8, 169u8, 144u8, 77u8, - 38u8, 53u8, 243u8, 127u8, + 143u8, 212u8, 59u8, 147u8, 4u8, 55u8, 142u8, 209u8, 237u8, 76u8, 7u8, + 178u8, 41u8, 81u8, 4u8, 203u8, 184u8, 149u8, 32u8, 1u8, 106u8, 180u8, + 121u8, 20u8, 137u8, 169u8, 144u8, 77u8, 38u8, 53u8, 243u8, 127u8, ], ) } @@ -24175,10 +23593,10 @@ pub mod api { "set_dispute_period", SetDisputePeriod { new }, [ - 36u8, 191u8, 142u8, 240u8, 48u8, 101u8, 10u8, 197u8, 117u8, - 125u8, 156u8, 189u8, 130u8, 77u8, 242u8, 130u8, 205u8, 154u8, - 152u8, 47u8, 75u8, 56u8, 63u8, 61u8, 33u8, 163u8, 151u8, - 97u8, 105u8, 99u8, 55u8, 180u8, + 36u8, 191u8, 142u8, 240u8, 48u8, 101u8, 10u8, 197u8, 117u8, 125u8, + 156u8, 189u8, 130u8, 77u8, 242u8, 130u8, 205u8, 154u8, 152u8, 47u8, + 75u8, 56u8, 63u8, 61u8, 33u8, 163u8, 151u8, 97u8, 105u8, 99u8, 55u8, + 180u8, ], ) } @@ -24193,10 +23611,9 @@ pub mod api { "set_dispute_post_conclusion_acceptance_period", SetDisputePostConclusionAcceptancePeriod { new }, [ - 66u8, 56u8, 45u8, 87u8, 51u8, 49u8, 91u8, 95u8, 255u8, 185u8, - 54u8, 165u8, 85u8, 142u8, 238u8, 251u8, 174u8, 81u8, 3u8, - 61u8, 92u8, 97u8, 203u8, 20u8, 107u8, 50u8, 208u8, 250u8, - 208u8, 159u8, 225u8, 175u8, + 66u8, 56u8, 45u8, 87u8, 51u8, 49u8, 91u8, 95u8, 255u8, 185u8, 54u8, + 165u8, 85u8, 142u8, 238u8, 251u8, 174u8, 81u8, 3u8, 61u8, 92u8, 97u8, + 203u8, 20u8, 107u8, 50u8, 208u8, 250u8, 208u8, 159u8, 225u8, 175u8, ], ) } @@ -24210,10 +23627,9 @@ pub mod api { "set_dispute_max_spam_slots", SetDisputeMaxSpamSlots { new }, [ - 177u8, 58u8, 3u8, 205u8, 145u8, 85u8, 160u8, 162u8, 13u8, - 171u8, 124u8, 54u8, 58u8, 209u8, 88u8, 131u8, 230u8, 248u8, - 142u8, 18u8, 121u8, 129u8, 196u8, 121u8, 25u8, 15u8, 252u8, - 229u8, 89u8, 230u8, 14u8, 68u8, + 177u8, 58u8, 3u8, 205u8, 145u8, 85u8, 160u8, 162u8, 13u8, 171u8, 124u8, + 54u8, 58u8, 209u8, 88u8, 131u8, 230u8, 248u8, 142u8, 18u8, 121u8, + 129u8, 196u8, 121u8, 25u8, 15u8, 252u8, 229u8, 89u8, 230u8, 14u8, 68u8, ], ) } @@ -24221,17 +23637,15 @@ pub mod api { pub fn set_dispute_conclusion_by_time_out_period( &self, new: ::core::primitive::u32, - ) -> ::subxt::tx::Payload - { + ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Configuration", "set_dispute_conclusion_by_time_out_period", SetDisputeConclusionByTimeOutPeriod { new }, [ - 238u8, 102u8, 27u8, 169u8, 68u8, 116u8, 198u8, 64u8, 190u8, - 33u8, 36u8, 98u8, 176u8, 157u8, 123u8, 148u8, 126u8, 85u8, - 32u8, 19u8, 49u8, 40u8, 172u8, 41u8, 195u8, 182u8, 44u8, - 255u8, 136u8, 204u8, 250u8, 6u8, + 238u8, 102u8, 27u8, 169u8, 68u8, 116u8, 198u8, 64u8, 190u8, 33u8, 36u8, + 98u8, 176u8, 157u8, 123u8, 148u8, 126u8, 85u8, 32u8, 19u8, 49u8, 40u8, + 172u8, 41u8, 195u8, 182u8, 44u8, 255u8, 136u8, 204u8, 250u8, 6u8, ], ) } @@ -24246,10 +23660,10 @@ pub mod api { "set_no_show_slots", SetNoShowSlots { new }, [ - 94u8, 230u8, 89u8, 131u8, 188u8, 246u8, 251u8, 34u8, 249u8, - 16u8, 134u8, 63u8, 238u8, 115u8, 19u8, 97u8, 97u8, 218u8, - 238u8, 115u8, 126u8, 140u8, 236u8, 17u8, 177u8, 192u8, 210u8, - 239u8, 126u8, 107u8, 117u8, 207u8, + 94u8, 230u8, 89u8, 131u8, 188u8, 246u8, 251u8, 34u8, 249u8, 16u8, + 134u8, 63u8, 238u8, 115u8, 19u8, 97u8, 97u8, 218u8, 238u8, 115u8, + 126u8, 140u8, 236u8, 17u8, 177u8, 192u8, 210u8, 239u8, 126u8, 107u8, + 117u8, 207u8, ], ) } @@ -24263,10 +23677,10 @@ pub mod api { "set_n_delay_tranches", SetNDelayTranches { new }, [ - 195u8, 168u8, 178u8, 51u8, 20u8, 107u8, 227u8, 236u8, 57u8, - 30u8, 130u8, 93u8, 149u8, 2u8, 161u8, 66u8, 48u8, 37u8, 71u8, - 108u8, 195u8, 65u8, 153u8, 30u8, 181u8, 181u8, 158u8, 252u8, - 120u8, 119u8, 36u8, 146u8, + 195u8, 168u8, 178u8, 51u8, 20u8, 107u8, 227u8, 236u8, 57u8, 30u8, + 130u8, 93u8, 149u8, 2u8, 161u8, 66u8, 48u8, 37u8, 71u8, 108u8, 195u8, + 65u8, 153u8, 30u8, 181u8, 181u8, 158u8, 252u8, 120u8, 119u8, 36u8, + 146u8, ], ) } @@ -24280,10 +23694,9 @@ pub mod api { "set_zeroth_delay_tranche_width", SetZerothDelayTrancheWidth { new }, [ - 69u8, 56u8, 125u8, 24u8, 181u8, 62u8, 99u8, 92u8, 166u8, - 107u8, 91u8, 134u8, 230u8, 128u8, 214u8, 135u8, 245u8, 64u8, - 62u8, 78u8, 96u8, 231u8, 195u8, 29u8, 158u8, 113u8, 46u8, - 96u8, 29u8, 0u8, 154u8, 80u8, + 69u8, 56u8, 125u8, 24u8, 181u8, 62u8, 99u8, 92u8, 166u8, 107u8, 91u8, + 134u8, 230u8, 128u8, 214u8, 135u8, 245u8, 64u8, 62u8, 78u8, 96u8, + 231u8, 195u8, 29u8, 158u8, 113u8, 46u8, 96u8, 29u8, 0u8, 154u8, 80u8, ], ) } @@ -24297,10 +23710,9 @@ pub mod api { "set_needed_approvals", SetNeededApprovals { new }, [ - 238u8, 55u8, 134u8, 30u8, 67u8, 153u8, 150u8, 5u8, 226u8, - 227u8, 185u8, 188u8, 66u8, 60u8, 147u8, 118u8, 46u8, 174u8, - 104u8, 100u8, 26u8, 162u8, 65u8, 58u8, 162u8, 52u8, 211u8, - 66u8, 242u8, 177u8, 230u8, 98u8, + 238u8, 55u8, 134u8, 30u8, 67u8, 153u8, 150u8, 5u8, 226u8, 227u8, 185u8, + 188u8, 66u8, 60u8, 147u8, 118u8, 46u8, 174u8, 104u8, 100u8, 26u8, + 162u8, 65u8, 58u8, 162u8, 52u8, 211u8, 66u8, 242u8, 177u8, 230u8, 98u8, ], ) } @@ -24314,10 +23726,9 @@ pub mod api { "set_relay_vrf_modulo_samples", SetRelayVrfModuloSamples { new }, [ - 76u8, 101u8, 207u8, 184u8, 211u8, 8u8, 43u8, 4u8, 165u8, - 147u8, 166u8, 3u8, 189u8, 42u8, 125u8, 130u8, 21u8, 43u8, - 189u8, 120u8, 239u8, 131u8, 235u8, 35u8, 151u8, 15u8, 30u8, - 81u8, 0u8, 2u8, 64u8, 21u8, + 76u8, 101u8, 207u8, 184u8, 211u8, 8u8, 43u8, 4u8, 165u8, 147u8, 166u8, + 3u8, 189u8, 42u8, 125u8, 130u8, 21u8, 43u8, 189u8, 120u8, 239u8, 131u8, + 235u8, 35u8, 151u8, 15u8, 30u8, 81u8, 0u8, 2u8, 64u8, 21u8, ], ) } @@ -24331,10 +23742,10 @@ pub mod api { "set_max_upward_queue_count", SetMaxUpwardQueueCount { new }, [ - 116u8, 186u8, 216u8, 17u8, 150u8, 187u8, 86u8, 154u8, 92u8, - 122u8, 178u8, 167u8, 215u8, 165u8, 55u8, 86u8, 229u8, 114u8, - 10u8, 149u8, 50u8, 183u8, 165u8, 32u8, 233u8, 105u8, 82u8, - 177u8, 120u8, 25u8, 44u8, 130u8, + 116u8, 186u8, 216u8, 17u8, 150u8, 187u8, 86u8, 154u8, 92u8, 122u8, + 178u8, 167u8, 215u8, 165u8, 55u8, 86u8, 229u8, 114u8, 10u8, 149u8, + 50u8, 183u8, 165u8, 32u8, 233u8, 105u8, 82u8, 177u8, 120u8, 25u8, 44u8, + 130u8, ], ) } @@ -24348,10 +23759,9 @@ pub mod api { "set_max_upward_queue_size", SetMaxUpwardQueueSize { new }, [ - 18u8, 60u8, 141u8, 57u8, 134u8, 96u8, 140u8, 85u8, 137u8, - 9u8, 209u8, 123u8, 10u8, 165u8, 33u8, 184u8, 34u8, 82u8, - 59u8, 60u8, 30u8, 47u8, 22u8, 163u8, 119u8, 200u8, 197u8, - 192u8, 112u8, 243u8, 156u8, 12u8, + 18u8, 60u8, 141u8, 57u8, 134u8, 96u8, 140u8, 85u8, 137u8, 9u8, 209u8, + 123u8, 10u8, 165u8, 33u8, 184u8, 34u8, 82u8, 59u8, 60u8, 30u8, 47u8, + 22u8, 163u8, 119u8, 200u8, 197u8, 192u8, 112u8, 243u8, 156u8, 12u8, ], ) } @@ -24365,10 +23775,10 @@ pub mod api { "set_max_downward_message_size", SetMaxDownwardMessageSize { new }, [ - 104u8, 25u8, 229u8, 184u8, 53u8, 246u8, 206u8, 180u8, 13u8, - 156u8, 14u8, 224u8, 215u8, 115u8, 104u8, 127u8, 167u8, 189u8, - 239u8, 183u8, 68u8, 124u8, 55u8, 211u8, 186u8, 115u8, 70u8, - 195u8, 61u8, 151u8, 32u8, 218u8, + 104u8, 25u8, 229u8, 184u8, 53u8, 246u8, 206u8, 180u8, 13u8, 156u8, + 14u8, 224u8, 215u8, 115u8, 104u8, 127u8, 167u8, 189u8, 239u8, 183u8, + 68u8, 124u8, 55u8, 211u8, 186u8, 115u8, 70u8, 195u8, 61u8, 151u8, 32u8, + 218u8, ], ) } @@ -24382,10 +23792,10 @@ pub mod api { "set_ump_service_total_weight", SetUmpServiceTotalWeight { new }, [ - 178u8, 63u8, 233u8, 183u8, 160u8, 109u8, 10u8, 162u8, 150u8, - 110u8, 66u8, 166u8, 197u8, 207u8, 91u8, 208u8, 137u8, 106u8, - 140u8, 184u8, 35u8, 85u8, 138u8, 49u8, 32u8, 15u8, 150u8, - 136u8, 50u8, 197u8, 21u8, 99u8, + 178u8, 63u8, 233u8, 183u8, 160u8, 109u8, 10u8, 162u8, 150u8, 110u8, + 66u8, 166u8, 197u8, 207u8, 91u8, 208u8, 137u8, 106u8, 140u8, 184u8, + 35u8, 85u8, 138u8, 49u8, 32u8, 15u8, 150u8, 136u8, 50u8, 197u8, 21u8, + 99u8, ], ) } @@ -24399,10 +23809,10 @@ pub mod api { "set_max_upward_message_size", SetMaxUpwardMessageSize { new }, [ - 213u8, 120u8, 21u8, 247u8, 101u8, 21u8, 164u8, 228u8, 33u8, - 115u8, 20u8, 138u8, 28u8, 174u8, 247u8, 39u8, 194u8, 113u8, - 34u8, 73u8, 142u8, 94u8, 116u8, 151u8, 113u8, 92u8, 151u8, - 227u8, 116u8, 250u8, 101u8, 179u8, + 213u8, 120u8, 21u8, 247u8, 101u8, 21u8, 164u8, 228u8, 33u8, 115u8, + 20u8, 138u8, 28u8, 174u8, 247u8, 39u8, 194u8, 113u8, 34u8, 73u8, 142u8, + 94u8, 116u8, 151u8, 113u8, 92u8, 151u8, 227u8, 116u8, 250u8, 101u8, + 179u8, ], ) } @@ -24410,17 +23820,15 @@ pub mod api { pub fn set_max_upward_message_num_per_candidate( &self, new: ::core::primitive::u32, - ) -> ::subxt::tx::Payload - { + ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Configuration", "set_max_upward_message_num_per_candidate", SetMaxUpwardMessageNumPerCandidate { new }, [ - 54u8, 133u8, 226u8, 138u8, 184u8, 27u8, 130u8, 153u8, 130u8, - 196u8, 54u8, 79u8, 124u8, 10u8, 37u8, 139u8, 59u8, 190u8, - 169u8, 87u8, 255u8, 211u8, 38u8, 142u8, 37u8, 74u8, 144u8, - 204u8, 75u8, 94u8, 154u8, 149u8, + 54u8, 133u8, 226u8, 138u8, 184u8, 27u8, 130u8, 153u8, 130u8, 196u8, + 54u8, 79u8, 124u8, 10u8, 37u8, 139u8, 59u8, 190u8, 169u8, 87u8, 255u8, + 211u8, 38u8, 142u8, 37u8, 74u8, 144u8, 204u8, 75u8, 94u8, 154u8, 149u8, ], ) } @@ -24434,10 +23842,10 @@ pub mod api { "set_hrmp_open_request_ttl", SetHrmpOpenRequestTtl { new }, [ - 192u8, 113u8, 113u8, 133u8, 197u8, 75u8, 88u8, 67u8, 130u8, - 207u8, 37u8, 192u8, 157u8, 159u8, 114u8, 75u8, 83u8, 180u8, - 194u8, 180u8, 96u8, 129u8, 7u8, 138u8, 110u8, 14u8, 229u8, - 98u8, 71u8, 22u8, 229u8, 247u8, + 192u8, 113u8, 113u8, 133u8, 197u8, 75u8, 88u8, 67u8, 130u8, 207u8, + 37u8, 192u8, 157u8, 159u8, 114u8, 75u8, 83u8, 180u8, 194u8, 180u8, + 96u8, 129u8, 7u8, 138u8, 110u8, 14u8, 229u8, 98u8, 71u8, 22u8, 229u8, + 247u8, ], ) } @@ -24451,10 +23859,9 @@ pub mod api { "set_hrmp_sender_deposit", SetHrmpSenderDeposit { new }, [ - 49u8, 38u8, 173u8, 114u8, 66u8, 140u8, 15u8, 151u8, 193u8, - 54u8, 128u8, 108u8, 72u8, 71u8, 28u8, 65u8, 129u8, 199u8, - 105u8, 61u8, 96u8, 119u8, 16u8, 53u8, 115u8, 120u8, 152u8, - 122u8, 182u8, 171u8, 233u8, 48u8, + 49u8, 38u8, 173u8, 114u8, 66u8, 140u8, 15u8, 151u8, 193u8, 54u8, 128u8, + 108u8, 72u8, 71u8, 28u8, 65u8, 129u8, 199u8, 105u8, 61u8, 96u8, 119u8, + 16u8, 53u8, 115u8, 120u8, 152u8, 122u8, 182u8, 171u8, 233u8, 48u8, ], ) } @@ -24469,10 +23876,9 @@ pub mod api { "set_hrmp_recipient_deposit", SetHrmpRecipientDeposit { new }, [ - 209u8, 212u8, 164u8, 56u8, 71u8, 215u8, 98u8, 250u8, 202u8, - 150u8, 228u8, 6u8, 166u8, 94u8, 171u8, 142u8, 10u8, 253u8, - 89u8, 43u8, 6u8, 173u8, 8u8, 235u8, 52u8, 18u8, 78u8, 129u8, - 227u8, 61u8, 74u8, 83u8, + 209u8, 212u8, 164u8, 56u8, 71u8, 215u8, 98u8, 250u8, 202u8, 150u8, + 228u8, 6u8, 166u8, 94u8, 171u8, 142u8, 10u8, 253u8, 89u8, 43u8, 6u8, + 173u8, 8u8, 235u8, 52u8, 18u8, 78u8, 129u8, 227u8, 61u8, 74u8, 83u8, ], ) } @@ -24486,10 +23892,9 @@ pub mod api { "set_hrmp_channel_max_capacity", SetHrmpChannelMaxCapacity { new }, [ - 148u8, 109u8, 67u8, 220u8, 1u8, 115u8, 70u8, 93u8, 138u8, - 190u8, 60u8, 220u8, 80u8, 137u8, 246u8, 230u8, 115u8, 162u8, - 30u8, 197u8, 11u8, 33u8, 211u8, 224u8, 49u8, 165u8, 149u8, - 155u8, 197u8, 44u8, 6u8, 167u8, + 148u8, 109u8, 67u8, 220u8, 1u8, 115u8, 70u8, 93u8, 138u8, 190u8, 60u8, + 220u8, 80u8, 137u8, 246u8, 230u8, 115u8, 162u8, 30u8, 197u8, 11u8, + 33u8, 211u8, 224u8, 49u8, 165u8, 149u8, 155u8, 197u8, 44u8, 6u8, 167u8, ], ) } @@ -24503,10 +23908,9 @@ pub mod api { "set_hrmp_channel_max_total_size", SetHrmpChannelMaxTotalSize { new }, [ - 79u8, 40u8, 207u8, 173u8, 168u8, 143u8, 130u8, 240u8, 205u8, - 34u8, 61u8, 217u8, 215u8, 106u8, 61u8, 181u8, 8u8, 21u8, - 105u8, 64u8, 183u8, 235u8, 39u8, 133u8, 70u8, 77u8, 233u8, - 201u8, 222u8, 8u8, 43u8, 159u8, + 79u8, 40u8, 207u8, 173u8, 168u8, 143u8, 130u8, 240u8, 205u8, 34u8, + 61u8, 217u8, 215u8, 106u8, 61u8, 181u8, 8u8, 21u8, 105u8, 64u8, 183u8, + 235u8, 39u8, 133u8, 70u8, 77u8, 233u8, 201u8, 222u8, 8u8, 43u8, 159u8, ], ) } @@ -24514,17 +23918,16 @@ pub mod api { pub fn set_hrmp_max_parachain_inbound_channels( &self, new: ::core::primitive::u32, - ) -> ::subxt::tx::Payload - { + ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Configuration", "set_hrmp_max_parachain_inbound_channels", SetHrmpMaxParachainInboundChannels { new }, [ - 91u8, 215u8, 212u8, 131u8, 140u8, 185u8, 119u8, 184u8, 61u8, - 121u8, 120u8, 73u8, 202u8, 98u8, 124u8, 187u8, 171u8, 84u8, - 136u8, 77u8, 103u8, 169u8, 185u8, 8u8, 214u8, 214u8, 23u8, - 195u8, 100u8, 72u8, 45u8, 12u8, + 91u8, 215u8, 212u8, 131u8, 140u8, 185u8, 119u8, 184u8, 61u8, 121u8, + 120u8, 73u8, 202u8, 98u8, 124u8, 187u8, 171u8, 84u8, 136u8, 77u8, + 103u8, 169u8, 185u8, 8u8, 214u8, 214u8, 23u8, 195u8, 100u8, 72u8, 45u8, + 12u8, ], ) } @@ -24532,17 +23935,15 @@ pub mod api { pub fn set_hrmp_max_parathread_inbound_channels( &self, new: ::core::primitive::u32, - ) -> ::subxt::tx::Payload - { + ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Configuration", "set_hrmp_max_parathread_inbound_channels", SetHrmpMaxParathreadInboundChannels { new }, [ - 209u8, 66u8, 180u8, 20u8, 87u8, 242u8, 219u8, 71u8, 22u8, - 145u8, 220u8, 48u8, 44u8, 42u8, 77u8, 69u8, 255u8, 82u8, - 27u8, 125u8, 231u8, 111u8, 23u8, 32u8, 239u8, 28u8, 200u8, - 255u8, 91u8, 207u8, 99u8, 107u8, + 209u8, 66u8, 180u8, 20u8, 87u8, 242u8, 219u8, 71u8, 22u8, 145u8, 220u8, + 48u8, 44u8, 42u8, 77u8, 69u8, 255u8, 82u8, 27u8, 125u8, 231u8, 111u8, + 23u8, 32u8, 239u8, 28u8, 200u8, 255u8, 91u8, 207u8, 99u8, 107u8, ], ) } @@ -24556,10 +23957,9 @@ pub mod api { "set_hrmp_channel_max_message_size", SetHrmpChannelMaxMessageSize { new }, [ - 17u8, 224u8, 230u8, 9u8, 114u8, 221u8, 138u8, 46u8, 234u8, - 151u8, 27u8, 34u8, 179u8, 67u8, 113u8, 228u8, 128u8, 212u8, - 209u8, 125u8, 122u8, 1u8, 79u8, 28u8, 10u8, 14u8, 83u8, 65u8, - 253u8, 173u8, 116u8, 209u8, + 17u8, 224u8, 230u8, 9u8, 114u8, 221u8, 138u8, 46u8, 234u8, 151u8, 27u8, + 34u8, 179u8, 67u8, 113u8, 228u8, 128u8, 212u8, 209u8, 125u8, 122u8, + 1u8, 79u8, 28u8, 10u8, 14u8, 83u8, 65u8, 253u8, 173u8, 116u8, 209u8, ], ) } @@ -24567,17 +23967,15 @@ pub mod api { pub fn set_hrmp_max_parachain_outbound_channels( &self, new: ::core::primitive::u32, - ) -> ::subxt::tx::Payload - { + ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Configuration", "set_hrmp_max_parachain_outbound_channels", SetHrmpMaxParachainOutboundChannels { new }, [ - 26u8, 146u8, 150u8, 88u8, 236u8, 8u8, 63u8, 103u8, 71u8, - 11u8, 20u8, 210u8, 205u8, 106u8, 101u8, 112u8, 116u8, 73u8, - 116u8, 136u8, 149u8, 181u8, 207u8, 95u8, 151u8, 7u8, 98u8, - 17u8, 224u8, 157u8, 117u8, 88u8, + 26u8, 146u8, 150u8, 88u8, 236u8, 8u8, 63u8, 103u8, 71u8, 11u8, 20u8, + 210u8, 205u8, 106u8, 101u8, 112u8, 116u8, 73u8, 116u8, 136u8, 149u8, + 181u8, 207u8, 95u8, 151u8, 7u8, 98u8, 17u8, 224u8, 157u8, 117u8, 88u8, ], ) } @@ -24585,17 +23983,15 @@ pub mod api { pub fn set_hrmp_max_parathread_outbound_channels( &self, new: ::core::primitive::u32, - ) -> ::subxt::tx::Payload - { + ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Configuration", "set_hrmp_max_parathread_outbound_channels", SetHrmpMaxParathreadOutboundChannels { new }, [ - 31u8, 72u8, 93u8, 21u8, 180u8, 156u8, 101u8, 24u8, 145u8, - 220u8, 194u8, 93u8, 176u8, 164u8, 53u8, 123u8, 36u8, 113u8, - 152u8, 13u8, 222u8, 54u8, 175u8, 170u8, 235u8, 68u8, 236u8, - 130u8, 178u8, 56u8, 140u8, 31u8, + 31u8, 72u8, 93u8, 21u8, 180u8, 156u8, 101u8, 24u8, 145u8, 220u8, 194u8, + 93u8, 176u8, 164u8, 53u8, 123u8, 36u8, 113u8, 152u8, 13u8, 222u8, 54u8, + 175u8, 170u8, 235u8, 68u8, 236u8, 130u8, 178u8, 56u8, 140u8, 31u8, ], ) } @@ -24603,17 +23999,16 @@ pub mod api { pub fn set_hrmp_max_message_num_per_candidate( &self, new: ::core::primitive::u32, - ) -> ::subxt::tx::Payload - { + ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Configuration", "set_hrmp_max_message_num_per_candidate", SetHrmpMaxMessageNumPerCandidate { new }, [ - 244u8, 94u8, 225u8, 194u8, 133u8, 116u8, 202u8, 238u8, 8u8, - 57u8, 122u8, 125u8, 6u8, 131u8, 84u8, 102u8, 180u8, 67u8, - 250u8, 136u8, 30u8, 29u8, 110u8, 105u8, 219u8, 166u8, 91u8, - 140u8, 44u8, 192u8, 37u8, 185u8, + 244u8, 94u8, 225u8, 194u8, 133u8, 116u8, 202u8, 238u8, 8u8, 57u8, + 122u8, 125u8, 6u8, 131u8, 84u8, 102u8, 180u8, 67u8, 250u8, 136u8, 30u8, + 29u8, 110u8, 105u8, 219u8, 166u8, 91u8, 140u8, 44u8, 192u8, 37u8, + 185u8, ], ) } @@ -24627,10 +24022,9 @@ pub mod api { "set_ump_max_individual_weight", SetUmpMaxIndividualWeight { new }, [ - 66u8, 190u8, 15u8, 172u8, 67u8, 16u8, 117u8, 247u8, 176u8, - 25u8, 163u8, 130u8, 147u8, 224u8, 226u8, 101u8, 219u8, 173u8, - 176u8, 49u8, 90u8, 133u8, 12u8, 223u8, 220u8, 18u8, 83u8, - 232u8, 137u8, 52u8, 206u8, 71u8, + 66u8, 190u8, 15u8, 172u8, 67u8, 16u8, 117u8, 247u8, 176u8, 25u8, 163u8, + 130u8, 147u8, 224u8, 226u8, 101u8, 219u8, 173u8, 176u8, 49u8, 90u8, + 133u8, 12u8, 223u8, 220u8, 18u8, 83u8, 232u8, 137u8, 52u8, 206u8, 71u8, ], ) } @@ -24644,10 +24038,9 @@ pub mod api { "set_pvf_checking_enabled", SetPvfCheckingEnabled { new }, [ - 123u8, 76u8, 1u8, 112u8, 174u8, 245u8, 18u8, 67u8, 13u8, - 29u8, 219u8, 197u8, 201u8, 112u8, 230u8, 191u8, 37u8, 148u8, - 73u8, 125u8, 54u8, 236u8, 3u8, 80u8, 114u8, 155u8, 244u8, - 132u8, 57u8, 63u8, 158u8, 248u8, + 123u8, 76u8, 1u8, 112u8, 174u8, 245u8, 18u8, 67u8, 13u8, 29u8, 219u8, + 197u8, 201u8, 112u8, 230u8, 191u8, 37u8, 148u8, 73u8, 125u8, 54u8, + 236u8, 3u8, 80u8, 114u8, 155u8, 244u8, 132u8, 57u8, 63u8, 158u8, 248u8, ], ) } @@ -24661,10 +24054,9 @@ pub mod api { "set_pvf_voting_ttl", SetPvfVotingTtl { new }, [ - 17u8, 11u8, 98u8, 217u8, 208u8, 102u8, 238u8, 83u8, 118u8, - 123u8, 20u8, 18u8, 46u8, 212u8, 21u8, 164u8, 61u8, 104u8, - 208u8, 204u8, 91u8, 210u8, 40u8, 6u8, 201u8, 147u8, 46u8, - 166u8, 219u8, 227u8, 121u8, 187u8, + 17u8, 11u8, 98u8, 217u8, 208u8, 102u8, 238u8, 83u8, 118u8, 123u8, 20u8, + 18u8, 46u8, 212u8, 21u8, 164u8, 61u8, 104u8, 208u8, 204u8, 91u8, 210u8, + 40u8, 6u8, 201u8, 147u8, 46u8, 166u8, 219u8, 227u8, 121u8, 187u8, ], ) } @@ -24675,17 +24067,16 @@ pub mod api { pub fn set_minimum_validation_upgrade_delay( &self, new: ::core::primitive::u32, - ) -> ::subxt::tx::Payload - { + ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Configuration", "set_minimum_validation_upgrade_delay", SetMinimumValidationUpgradeDelay { new }, [ - 205u8, 188u8, 75u8, 136u8, 228u8, 26u8, 112u8, 27u8, 119u8, - 37u8, 252u8, 109u8, 23u8, 145u8, 21u8, 212u8, 7u8, 28u8, - 242u8, 210u8, 182u8, 111u8, 121u8, 109u8, 50u8, 130u8, 46u8, - 127u8, 122u8, 40u8, 141u8, 242u8, + 205u8, 188u8, 75u8, 136u8, 228u8, 26u8, 112u8, 27u8, 119u8, 37u8, + 252u8, 109u8, 23u8, 145u8, 21u8, 212u8, 7u8, 28u8, 242u8, 210u8, 182u8, + 111u8, 121u8, 109u8, 50u8, 130u8, 46u8, 127u8, 122u8, 40u8, 141u8, + 242u8, ], ) } @@ -24700,10 +24091,10 @@ pub mod api { "set_bypass_consistency_check", SetBypassConsistencyCheck { new }, [ - 80u8, 66u8, 200u8, 98u8, 54u8, 207u8, 64u8, 99u8, 162u8, - 121u8, 26u8, 173u8, 113u8, 224u8, 240u8, 106u8, 69u8, 191u8, - 177u8, 107u8, 34u8, 74u8, 103u8, 128u8, 252u8, 160u8, 169u8, - 246u8, 125u8, 127u8, 153u8, 129u8, + 80u8, 66u8, 200u8, 98u8, 54u8, 207u8, 64u8, 99u8, 162u8, 121u8, 26u8, + 173u8, 113u8, 224u8, 240u8, 106u8, 69u8, 191u8, 177u8, 107u8, 34u8, + 74u8, 103u8, 128u8, 252u8, 160u8, 169u8, 246u8, 125u8, 127u8, 153u8, + 129u8, ], ) } @@ -24713,16 +24104,27 @@ pub mod api { use super::runtime_types; pub struct StorageApi; impl StorageApi { - #[doc = " The active configuration for the current session."] pub fn active_config (& self ,) -> :: subxt :: storage :: address :: Address :: < :: subxt :: storage :: address :: StaticStorageMapKey , runtime_types :: polkadot_runtime_parachains :: configuration :: HostConfiguration < :: core :: primitive :: u32 > , :: subxt :: storage :: address :: Yes , :: subxt :: storage :: address :: Yes , () >{ + #[doc = " The active configuration for the current session."] + pub fn active_config( + &self, + ) -> ::subxt::storage::address::Address< + ::subxt::storage::address::StaticStorageMapKey, + runtime_types::polkadot_runtime_parachains::configuration::HostConfiguration< + ::core::primitive::u32, + >, + ::subxt::storage::address::Yes, + ::subxt::storage::address::Yes, + (), + > { ::subxt::storage::address::Address::new_static( "Configuration", "ActiveConfig", vec![], [ - 152u8, 7u8, 210u8, 144u8, 253u8, 1u8, 141u8, 200u8, 122u8, - 214u8, 104u8, 100u8, 228u8, 235u8, 16u8, 86u8, 213u8, 212u8, - 204u8, 46u8, 74u8, 95u8, 217u8, 3u8, 40u8, 28u8, 149u8, - 175u8, 7u8, 146u8, 24u8, 3u8, + 152u8, 7u8, 210u8, 144u8, 253u8, 1u8, 141u8, 200u8, 122u8, 214u8, + 104u8, 100u8, 228u8, 235u8, 16u8, 86u8, 213u8, 212u8, 204u8, 46u8, + 74u8, 95u8, 217u8, 3u8, 40u8, 28u8, 149u8, 175u8, 7u8, 146u8, 24u8, + 3u8, ], ) } @@ -24738,10 +24140,9 @@ pub mod api { "PendingConfigs", vec![], [ - 206u8, 161u8, 39u8, 154u8, 62u8, 215u8, 33u8, 93u8, 214u8, - 37u8, 29u8, 71u8, 32u8, 176u8, 87u8, 166u8, 39u8, 11u8, 81u8, - 155u8, 174u8, 118u8, 138u8, 76u8, 22u8, 248u8, 148u8, 210u8, - 243u8, 41u8, 111u8, 216u8, + 206u8, 161u8, 39u8, 154u8, 62u8, 215u8, 33u8, 93u8, 214u8, 37u8, 29u8, + 71u8, 32u8, 176u8, 87u8, 166u8, 39u8, 11u8, 81u8, 155u8, 174u8, 118u8, + 138u8, 76u8, 22u8, 248u8, 148u8, 210u8, 243u8, 41u8, 111u8, 216u8, ], ) } @@ -24761,10 +24162,9 @@ pub mod api { "BypassConsistencyCheck", vec![], [ - 42u8, 191u8, 122u8, 163u8, 112u8, 2u8, 148u8, 59u8, 79u8, - 219u8, 184u8, 172u8, 246u8, 136u8, 185u8, 251u8, 189u8, - 226u8, 83u8, 129u8, 162u8, 109u8, 148u8, 75u8, 120u8, 216u8, - 44u8, 28u8, 221u8, 78u8, 177u8, 94u8, + 42u8, 191u8, 122u8, 163u8, 112u8, 2u8, 148u8, 59u8, 79u8, 219u8, 184u8, + 172u8, 246u8, 136u8, 185u8, 251u8, 189u8, 226u8, 83u8, 129u8, 162u8, + 109u8, 148u8, 75u8, 120u8, 216u8, 44u8, 28u8, 221u8, 78u8, 177u8, 94u8, ], ) } @@ -24801,10 +24201,9 @@ pub mod api { "CurrentSessionIndex", vec![], [ - 83u8, 15u8, 20u8, 55u8, 103u8, 65u8, 76u8, 202u8, 69u8, 14u8, - 221u8, 93u8, 38u8, 163u8, 167u8, 83u8, 18u8, 245u8, 33u8, - 175u8, 7u8, 97u8, 67u8, 186u8, 96u8, 57u8, 147u8, 120u8, - 107u8, 91u8, 147u8, 64u8, + 83u8, 15u8, 20u8, 55u8, 103u8, 65u8, 76u8, 202u8, 69u8, 14u8, 221u8, + 93u8, 38u8, 163u8, 167u8, 83u8, 18u8, 245u8, 33u8, 175u8, 7u8, 97u8, + 67u8, 186u8, 96u8, 57u8, 147u8, 120u8, 107u8, 91u8, 147u8, 64u8, ], ) } @@ -24814,9 +24213,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - ::std::vec::Vec< - runtime_types::polkadot_primitives::v2::ValidatorIndex, - >, + ::std::vec::Vec, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, (), @@ -24826,10 +24223,10 @@ pub mod api { "ActiveValidatorIndices", vec![], [ - 123u8, 26u8, 202u8, 53u8, 219u8, 42u8, 54u8, 92u8, 144u8, - 74u8, 228u8, 234u8, 129u8, 216u8, 161u8, 98u8, 199u8, 12u8, - 13u8, 231u8, 23u8, 166u8, 185u8, 209u8, 191u8, 33u8, 231u8, - 252u8, 232u8, 44u8, 213u8, 221u8, + 123u8, 26u8, 202u8, 53u8, 219u8, 42u8, 54u8, 92u8, 144u8, 74u8, 228u8, + 234u8, 129u8, 216u8, 161u8, 98u8, 199u8, 12u8, 13u8, 231u8, 23u8, + 166u8, 185u8, 209u8, 191u8, 33u8, 231u8, 252u8, 232u8, 44u8, 213u8, + 221u8, ], ) } @@ -24839,9 +24236,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - ::std::vec::Vec< - runtime_types::polkadot_primitives::v2::validator_app::Public, - >, + ::std::vec::Vec, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, (), @@ -24851,10 +24246,9 @@ pub mod api { "ActiveValidatorKeys", vec![], [ - 33u8, 14u8, 54u8, 86u8, 184u8, 171u8, 194u8, 35u8, 187u8, - 252u8, 181u8, 79u8, 229u8, 134u8, 50u8, 235u8, 162u8, 216u8, - 108u8, 160u8, 175u8, 172u8, 239u8, 114u8, 57u8, 238u8, 9u8, - 54u8, 57u8, 196u8, 105u8, 15u8, + 33u8, 14u8, 54u8, 86u8, 184u8, 171u8, 194u8, 35u8, 187u8, 252u8, 181u8, + 79u8, 229u8, 134u8, 50u8, 235u8, 162u8, 216u8, 108u8, 160u8, 175u8, + 172u8, 239u8, 114u8, 57u8, 238u8, 9u8, 54u8, 57u8, 196u8, 105u8, 15u8, ], ) } @@ -24873,8 +24267,7 @@ pub mod api { impl TransactionApi {} } #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] - pub type Event = - runtime_types::polkadot_runtime_parachains::inclusion::pallet::Event; + pub type Event = runtime_types::polkadot_runtime_parachains::inclusion::pallet::Event; pub mod events { use super::runtime_types; #[derive( @@ -24888,9 +24281,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A candidate was backed. `[candidate, head_data]`"] pub struct CandidateBacked( - pub runtime_types::polkadot_primitives::v2::CandidateReceipt< - ::subxt::utils::H256, - >, + pub runtime_types::polkadot_primitives::v2::CandidateReceipt<::subxt::utils::H256>, pub runtime_types::polkadot_parachain::primitives::HeadData, pub runtime_types::polkadot_primitives::v2::CoreIndex, pub runtime_types::polkadot_primitives::v2::GroupIndex, @@ -24910,9 +24301,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A candidate was included. `[candidate, head_data]`"] pub struct CandidateIncluded( - pub runtime_types::polkadot_primitives::v2::CandidateReceipt< - ::subxt::utils::H256, - >, + pub runtime_types::polkadot_primitives::v2::CandidateReceipt<::subxt::utils::H256>, pub runtime_types::polkadot_parachain::primitives::HeadData, pub runtime_types::polkadot_primitives::v2::CoreIndex, pub runtime_types::polkadot_primitives::v2::GroupIndex, @@ -24932,9 +24321,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A candidate timed out. `[candidate, head_data]`"] pub struct CandidateTimedOut( - pub runtime_types::polkadot_primitives::v2::CandidateReceipt< - ::subxt::utils::H256, - >, + pub runtime_types::polkadot_primitives::v2::CandidateReceipt<::subxt::utils::H256>, pub runtime_types::polkadot_parachain::primitives::HeadData, pub runtime_types::polkadot_primitives::v2::CoreIndex, ); @@ -24951,14 +24338,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "ParaInclusion", "AvailabilityBitfields", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 149u8, 215u8, 123u8, 226u8, 73u8, 240u8, 102u8, 39u8, 243u8, - 232u8, 226u8, 116u8, 65u8, 180u8, 110u8, 4u8, 194u8, 50u8, - 60u8, 193u8, 142u8, 62u8, 20u8, 148u8, 106u8, 162u8, 96u8, - 114u8, 215u8, 250u8, 111u8, 225u8, + 149u8, 215u8, 123u8, 226u8, 73u8, 240u8, 102u8, 39u8, 243u8, 232u8, + 226u8, 116u8, 65u8, 180u8, 110u8, 4u8, 194u8, 50u8, 60u8, 193u8, 142u8, + 62u8, 20u8, 148u8, 106u8, 162u8, 96u8, 114u8, 215u8, 250u8, 111u8, + 225u8, ], ) } @@ -24968,10 +24355,10 @@ pub mod api { "AvailabilityBitfields", Vec::new(), [ - 149u8, 215u8, 123u8, 226u8, 73u8, 240u8, 102u8, 39u8, 243u8, - 232u8, 226u8, 116u8, 65u8, 180u8, 110u8, 4u8, 194u8, 50u8, - 60u8, 193u8, 142u8, 62u8, 20u8, 148u8, 106u8, 162u8, 96u8, - 114u8, 215u8, 250u8, 111u8, 225u8, + 149u8, 215u8, 123u8, 226u8, 73u8, 240u8, 102u8, 39u8, 243u8, 232u8, + 226u8, 116u8, 65u8, 180u8, 110u8, 4u8, 194u8, 50u8, 60u8, 193u8, 142u8, + 62u8, 20u8, 148u8, 106u8, 162u8, 96u8, 114u8, 215u8, 250u8, 111u8, + 225u8, ], ) } @@ -24979,14 +24366,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "ParaInclusion", "PendingAvailability", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 54u8, 166u8, 18u8, 56u8, 51u8, 241u8, 31u8, 165u8, 220u8, - 138u8, 67u8, 171u8, 23u8, 101u8, 109u8, 26u8, 211u8, 237u8, - 81u8, 143u8, 192u8, 214u8, 49u8, 42u8, 69u8, 30u8, 168u8, - 113u8, 72u8, 12u8, 140u8, 242u8, + 54u8, 166u8, 18u8, 56u8, 51u8, 241u8, 31u8, 165u8, 220u8, 138u8, 67u8, + 171u8, 23u8, 101u8, 109u8, 26u8, 211u8, 237u8, 81u8, 143u8, 192u8, + 214u8, 49u8, 42u8, 69u8, 30u8, 168u8, 113u8, 72u8, 12u8, 140u8, 242u8, ], ) } @@ -24996,19 +24382,16 @@ pub mod api { "PendingAvailability", Vec::new(), [ - 54u8, 166u8, 18u8, 56u8, 51u8, 241u8, 31u8, 165u8, 220u8, - 138u8, 67u8, 171u8, 23u8, 101u8, 109u8, 26u8, 211u8, 237u8, - 81u8, 143u8, 192u8, 214u8, 49u8, 42u8, 69u8, 30u8, 168u8, - 113u8, 72u8, 12u8, 140u8, 242u8, + 54u8, 166u8, 18u8, 56u8, 51u8, 241u8, 31u8, 165u8, 220u8, 138u8, 67u8, + 171u8, 23u8, 101u8, 109u8, 26u8, 211u8, 237u8, 81u8, 143u8, 192u8, + 214u8, 49u8, 42u8, 69u8, 30u8, 168u8, 113u8, 72u8, 12u8, 140u8, 242u8, ], ) } #[doc = " The commitments of candidates pending availability, by `ParaId`."] pub fn pending_availability_commitments( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, runtime_types::polkadot_primitives::v2::CandidateCommitments< @@ -25021,14 +24404,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "ParaInclusion", "PendingAvailabilityCommitments", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 146u8, 206u8, 148u8, 102u8, 55u8, 101u8, 144u8, 33u8, 197u8, - 232u8, 64u8, 205u8, 216u8, 21u8, 247u8, 170u8, 237u8, 115u8, - 144u8, 43u8, 106u8, 87u8, 82u8, 39u8, 11u8, 87u8, 149u8, - 195u8, 56u8, 59u8, 54u8, 8u8, + 146u8, 206u8, 148u8, 102u8, 55u8, 101u8, 144u8, 33u8, 197u8, 232u8, + 64u8, 205u8, 216u8, 21u8, 247u8, 170u8, 237u8, 115u8, 144u8, 43u8, + 106u8, 87u8, 82u8, 39u8, 11u8, 87u8, 149u8, 195u8, 56u8, 59u8, 54u8, + 8u8, ], ) } @@ -25049,10 +24432,10 @@ pub mod api { "PendingAvailabilityCommitments", Vec::new(), [ - 146u8, 206u8, 148u8, 102u8, 55u8, 101u8, 144u8, 33u8, 197u8, - 232u8, 64u8, 205u8, 216u8, 21u8, 247u8, 170u8, 237u8, 115u8, - 144u8, 43u8, 106u8, 87u8, 82u8, 39u8, 11u8, 87u8, 149u8, - 195u8, 56u8, 59u8, 54u8, 8u8, + 146u8, 206u8, 148u8, 102u8, 55u8, 101u8, 144u8, 33u8, 197u8, 232u8, + 64u8, 205u8, 216u8, 21u8, 247u8, 170u8, 237u8, 115u8, 144u8, 43u8, + 106u8, 87u8, 82u8, 39u8, 11u8, 87u8, 149u8, 195u8, 56u8, 59u8, 54u8, + 8u8, ], ) } @@ -25101,10 +24484,9 @@ pub mod api { "enter", Enter { data }, [ - 92u8, 247u8, 59u8, 6u8, 2u8, 102u8, 76u8, 147u8, 46u8, 232u8, - 38u8, 191u8, 145u8, 155u8, 23u8, 39u8, 228u8, 95u8, 57u8, - 249u8, 247u8, 20u8, 9u8, 189u8, 156u8, 187u8, 207u8, 107u8, - 0u8, 13u8, 228u8, 6u8, + 92u8, 247u8, 59u8, 6u8, 2u8, 102u8, 76u8, 147u8, 46u8, 232u8, 38u8, + 191u8, 145u8, 155u8, 23u8, 39u8, 228u8, 95u8, 57u8, 249u8, 247u8, 20u8, + 9u8, 189u8, 156u8, 187u8, 207u8, 107u8, 0u8, 13u8, 228u8, 6u8, ], ) } @@ -25134,10 +24516,9 @@ pub mod api { "Included", vec![], [ - 208u8, 213u8, 76u8, 64u8, 90u8, 141u8, 144u8, 52u8, 220u8, - 35u8, 143u8, 171u8, 45u8, 59u8, 9u8, 218u8, 29u8, 186u8, - 139u8, 203u8, 205u8, 12u8, 10u8, 2u8, 27u8, 167u8, 182u8, - 244u8, 167u8, 220u8, 44u8, 16u8, + 208u8, 213u8, 76u8, 64u8, 90u8, 141u8, 144u8, 52u8, 220u8, 35u8, 143u8, + 171u8, 45u8, 59u8, 9u8, 218u8, 29u8, 186u8, 139u8, 203u8, 205u8, 12u8, + 10u8, 2u8, 27u8, 167u8, 182u8, 244u8, 167u8, 220u8, 44u8, 16u8, ], ) } @@ -25158,10 +24539,10 @@ pub mod api { "OnChainVotes", vec![], [ - 187u8, 34u8, 219u8, 197u8, 202u8, 214u8, 140u8, 152u8, 253u8, - 65u8, 206u8, 217u8, 36u8, 40u8, 107u8, 215u8, 135u8, 115u8, - 35u8, 61u8, 180u8, 131u8, 0u8, 184u8, 193u8, 76u8, 165u8, - 63u8, 106u8, 222u8, 126u8, 113u8, + 187u8, 34u8, 219u8, 197u8, 202u8, 214u8, 140u8, 152u8, 253u8, 65u8, + 206u8, 217u8, 36u8, 40u8, 107u8, 215u8, 135u8, 115u8, 35u8, 61u8, + 180u8, 131u8, 0u8, 184u8, 193u8, 76u8, 165u8, 63u8, 106u8, 222u8, + 126u8, 113u8, ], ) } @@ -25186,9 +24567,7 @@ pub mod api { ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, ::std::vec::Vec< - ::std::vec::Vec< - runtime_types::polkadot_primitives::v2::ValidatorIndex, - >, + ::std::vec::Vec, >, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, @@ -25199,26 +24578,33 @@ pub mod api { "ValidatorGroups", vec![], [ - 175u8, 187u8, 69u8, 76u8, 211u8, 36u8, 162u8, 147u8, 83u8, - 65u8, 83u8, 44u8, 241u8, 112u8, 246u8, 14u8, 237u8, 255u8, - 248u8, 58u8, 44u8, 207u8, 159u8, 112u8, 31u8, 90u8, 15u8, - 85u8, 4u8, 212u8, 215u8, 211u8, + 175u8, 187u8, 69u8, 76u8, 211u8, 36u8, 162u8, 147u8, 83u8, 65u8, 83u8, + 44u8, 241u8, 112u8, 246u8, 14u8, 237u8, 255u8, 248u8, 58u8, 44u8, + 207u8, 159u8, 112u8, 31u8, 90u8, 15u8, 85u8, 4u8, 212u8, 215u8, 211u8, ], ) } #[doc = " A queue of upcoming claims and which core they should be mapped onto."] #[doc = ""] #[doc = " The number of queued claims is bounded at the `scheduling_lookahead`"] - #[doc = " multiplied by the number of parathread multiplexer cores. Reasonably, 10 * 50 = 500."] pub fn parathread_queue (& self ,) -> :: subxt :: storage :: address :: Address :: < :: subxt :: storage :: address :: StaticStorageMapKey , runtime_types :: polkadot_runtime_parachains :: scheduler :: ParathreadClaimQueue , :: subxt :: storage :: address :: Yes , :: subxt :: storage :: address :: Yes , () >{ + #[doc = " multiplied by the number of parathread multiplexer cores. Reasonably, 10 * 50 = 500."] + pub fn parathread_queue( + &self, + ) -> ::subxt::storage::address::Address< + ::subxt::storage::address::StaticStorageMapKey, + runtime_types::polkadot_runtime_parachains::scheduler::ParathreadClaimQueue, + ::subxt::storage::address::Yes, + ::subxt::storage::address::Yes, + (), + > { ::subxt::storage::address::Address::new_static( "ParaScheduler", "ParathreadQueue", vec![], [ - 79u8, 144u8, 191u8, 114u8, 235u8, 55u8, 133u8, 208u8, 73u8, - 97u8, 73u8, 148u8, 96u8, 185u8, 110u8, 95u8, 132u8, 54u8, - 244u8, 86u8, 50u8, 218u8, 121u8, 226u8, 153u8, 58u8, 232u8, - 202u8, 132u8, 147u8, 168u8, 48u8, + 79u8, 144u8, 191u8, 114u8, 235u8, 55u8, 133u8, 208u8, 73u8, 97u8, 73u8, + 148u8, 96u8, 185u8, 110u8, 95u8, 132u8, 54u8, 244u8, 86u8, 50u8, 218u8, + 121u8, 226u8, 153u8, 58u8, 232u8, 202u8, 132u8, 147u8, 168u8, 48u8, ], ) } @@ -25248,10 +24634,10 @@ pub mod api { "AvailabilityCores", vec![], [ - 103u8, 94u8, 52u8, 17u8, 118u8, 25u8, 254u8, 190u8, 74u8, - 91u8, 64u8, 205u8, 243u8, 113u8, 143u8, 166u8, 193u8, 110u8, - 214u8, 151u8, 24u8, 112u8, 69u8, 131u8, 235u8, 78u8, 240u8, - 120u8, 240u8, 68u8, 56u8, 215u8, + 103u8, 94u8, 52u8, 17u8, 118u8, 25u8, 254u8, 190u8, 74u8, 91u8, 64u8, + 205u8, 243u8, 113u8, 143u8, 166u8, 193u8, 110u8, 214u8, 151u8, 24u8, + 112u8, 69u8, 131u8, 235u8, 78u8, 240u8, 120u8, 240u8, 68u8, 56u8, + 215u8, ], ) } @@ -25273,10 +24659,10 @@ pub mod api { "ParathreadClaimIndex", vec![], [ - 64u8, 17u8, 173u8, 35u8, 14u8, 16u8, 149u8, 200u8, 118u8, - 211u8, 130u8, 15u8, 124u8, 112u8, 44u8, 220u8, 156u8, 132u8, - 119u8, 148u8, 24u8, 120u8, 252u8, 246u8, 204u8, 119u8, 206u8, - 85u8, 44u8, 210u8, 135u8, 83u8, + 64u8, 17u8, 173u8, 35u8, 14u8, 16u8, 149u8, 200u8, 118u8, 211u8, 130u8, + 15u8, 124u8, 112u8, 44u8, 220u8, 156u8, 132u8, 119u8, 148u8, 24u8, + 120u8, 252u8, 246u8, 204u8, 119u8, 206u8, 85u8, 44u8, 210u8, 135u8, + 83u8, ], ) } @@ -25300,10 +24686,9 @@ pub mod api { "SessionStartBlock", vec![], [ - 122u8, 37u8, 150u8, 1u8, 185u8, 201u8, 168u8, 67u8, 55u8, - 17u8, 101u8, 18u8, 133u8, 212u8, 6u8, 73u8, 191u8, 204u8, - 229u8, 22u8, 185u8, 120u8, 24u8, 245u8, 121u8, 215u8, 124u8, - 210u8, 49u8, 28u8, 26u8, 80u8, + 122u8, 37u8, 150u8, 1u8, 185u8, 201u8, 168u8, 67u8, 55u8, 17u8, 101u8, + 18u8, 133u8, 212u8, 6u8, 73u8, 191u8, 204u8, 229u8, 22u8, 185u8, 120u8, + 24u8, 245u8, 121u8, 215u8, 124u8, 210u8, 49u8, 28u8, 26u8, 80u8, ], ) } @@ -25312,16 +24697,27 @@ pub mod api { #[doc = " Bounded by the number of cores: one for each parachain and parathread multiplexer."] #[doc = ""] #[doc = " The value contained here will not be valid after the end of a block. Runtime APIs should be used to determine scheduled cores/"] - #[doc = " for the upcoming block."] pub fn scheduled (& self ,) -> :: subxt :: storage :: address :: Address :: < :: subxt :: storage :: address :: StaticStorageMapKey , :: std :: vec :: Vec < runtime_types :: polkadot_runtime_parachains :: scheduler :: CoreAssignment > , :: subxt :: storage :: address :: Yes , :: subxt :: storage :: address :: Yes , () >{ + #[doc = " for the upcoming block."] + pub fn scheduled( + &self, + ) -> ::subxt::storage::address::Address< + ::subxt::storage::address::StaticStorageMapKey, + ::std::vec::Vec< + runtime_types::polkadot_runtime_parachains::scheduler::CoreAssignment, + >, + ::subxt::storage::address::Yes, + ::subxt::storage::address::Yes, + (), + > { ::subxt::storage::address::Address::new_static( "ParaScheduler", "Scheduled", vec![], [ - 246u8, 105u8, 102u8, 107u8, 143u8, 92u8, 220u8, 69u8, 71u8, - 102u8, 212u8, 157u8, 56u8, 112u8, 42u8, 179u8, 183u8, 139u8, - 128u8, 81u8, 239u8, 84u8, 103u8, 126u8, 82u8, 247u8, 39u8, - 39u8, 231u8, 218u8, 131u8, 53u8, + 246u8, 105u8, 102u8, 107u8, 143u8, 92u8, 220u8, 69u8, 71u8, 102u8, + 212u8, 157u8, 56u8, 112u8, 42u8, 179u8, 183u8, 139u8, 128u8, 81u8, + 239u8, 84u8, 103u8, 126u8, 82u8, 247u8, 39u8, 39u8, 231u8, 218u8, + 131u8, 53u8, ], ) } @@ -25347,8 +24743,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceSetCurrentCode { pub para: runtime_types::polkadot_parachain::primitives::Id, - pub new_code: - runtime_types::polkadot_parachain::primitives::ValidationCode, + pub new_code: runtime_types::polkadot_parachain::primitives::ValidationCode, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -25374,8 +24769,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceScheduleCodeUpgrade { pub para: runtime_types::polkadot_parachain::primitives::Id, - pub new_code: - runtime_types::polkadot_parachain::primitives::ValidationCode, + pub new_code: runtime_types::polkadot_parachain::primitives::ValidationCode, pub relay_parent_number: ::core::primitive::u32, } #[derive( @@ -25413,8 +24807,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AddTrustedValidationCode { - pub validation_code: - runtime_types::polkadot_parachain::primitives::ValidationCode, + pub validation_code: runtime_types::polkadot_parachain::primitives::ValidationCode, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -25440,8 +24833,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct IncludePvfCheckStatement { pub stmt: runtime_types::polkadot_primitives::v2::PvfCheckStatement, - pub signature: - runtime_types::polkadot_primitives::v2::validator_app::Signature, + pub signature: runtime_types::polkadot_primitives::v2::validator_app::Signature, } pub struct TransactionApi; impl TransactionApi { @@ -25449,17 +24841,16 @@ pub mod api { pub fn force_set_current_code( &self, para: runtime_types::polkadot_parachain::primitives::Id, - new_code : runtime_types :: polkadot_parachain :: primitives :: ValidationCode, + new_code: runtime_types::polkadot_parachain::primitives::ValidationCode, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Paras", "force_set_current_code", ForceSetCurrentCode { para, new_code }, [ - 56u8, 59u8, 48u8, 185u8, 106u8, 99u8, 250u8, 32u8, 207u8, - 2u8, 4u8, 110u8, 165u8, 131u8, 22u8, 33u8, 248u8, 175u8, - 186u8, 6u8, 118u8, 51u8, 74u8, 239u8, 68u8, 122u8, 148u8, - 242u8, 193u8, 131u8, 6u8, 135u8, + 56u8, 59u8, 48u8, 185u8, 106u8, 99u8, 250u8, 32u8, 207u8, 2u8, 4u8, + 110u8, 165u8, 131u8, 22u8, 33u8, 248u8, 175u8, 186u8, 6u8, 118u8, 51u8, + 74u8, 239u8, 68u8, 122u8, 148u8, 242u8, 193u8, 131u8, 6u8, 135u8, ], ) } @@ -25474,10 +24865,9 @@ pub mod api { "force_set_current_head", ForceSetCurrentHead { para, new_head }, [ - 203u8, 70u8, 33u8, 168u8, 133u8, 64u8, 146u8, 137u8, 156u8, - 104u8, 183u8, 26u8, 74u8, 227u8, 154u8, 224u8, 75u8, 85u8, - 143u8, 51u8, 60u8, 194u8, 59u8, 94u8, 100u8, 84u8, 194u8, - 100u8, 153u8, 9u8, 222u8, 63u8, + 203u8, 70u8, 33u8, 168u8, 133u8, 64u8, 146u8, 137u8, 156u8, 104u8, + 183u8, 26u8, 74u8, 227u8, 154u8, 224u8, 75u8, 85u8, 143u8, 51u8, 60u8, + 194u8, 59u8, 94u8, 100u8, 84u8, 194u8, 100u8, 153u8, 9u8, 222u8, 63u8, ], ) } @@ -25485,7 +24875,7 @@ pub mod api { pub fn force_schedule_code_upgrade( &self, para: runtime_types::polkadot_parachain::primitives::Id, - new_code : runtime_types :: polkadot_parachain :: primitives :: ValidationCode, + new_code: runtime_types::polkadot_parachain::primitives::ValidationCode, relay_parent_number: ::core::primitive::u32, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( @@ -25497,10 +24887,10 @@ pub mod api { relay_parent_number, }, [ - 30u8, 210u8, 178u8, 31u8, 48u8, 144u8, 167u8, 117u8, 220u8, - 36u8, 175u8, 220u8, 145u8, 193u8, 20u8, 98u8, 149u8, 130u8, - 66u8, 54u8, 20u8, 204u8, 231u8, 116u8, 203u8, 179u8, 253u8, - 106u8, 55u8, 58u8, 116u8, 109u8, + 30u8, 210u8, 178u8, 31u8, 48u8, 144u8, 167u8, 117u8, 220u8, 36u8, + 175u8, 220u8, 145u8, 193u8, 20u8, 98u8, 149u8, 130u8, 66u8, 54u8, 20u8, + 204u8, 231u8, 116u8, 203u8, 179u8, 253u8, 106u8, 55u8, 58u8, 116u8, + 109u8, ], ) } @@ -25515,10 +24905,9 @@ pub mod api { "force_note_new_head", ForceNoteNewHead { para, new_head }, [ - 83u8, 93u8, 166u8, 142u8, 213u8, 1u8, 243u8, 73u8, 192u8, - 164u8, 104u8, 206u8, 99u8, 250u8, 31u8, 222u8, 231u8, 54u8, - 12u8, 45u8, 92u8, 74u8, 248u8, 50u8, 180u8, 86u8, 251u8, - 172u8, 227u8, 88u8, 45u8, 127u8, + 83u8, 93u8, 166u8, 142u8, 213u8, 1u8, 243u8, 73u8, 192u8, 164u8, 104u8, + 206u8, 99u8, 250u8, 31u8, 222u8, 231u8, 54u8, 12u8, 45u8, 92u8, 74u8, + 248u8, 50u8, 180u8, 86u8, 251u8, 172u8, 227u8, 88u8, 45u8, 127u8, ], ) } @@ -25534,10 +24923,9 @@ pub mod api { "force_queue_action", ForceQueueAction { para }, [ - 195u8, 243u8, 79u8, 34u8, 111u8, 246u8, 109u8, 90u8, 251u8, - 137u8, 48u8, 23u8, 117u8, 29u8, 26u8, 200u8, 37u8, 64u8, - 36u8, 254u8, 224u8, 99u8, 165u8, 246u8, 8u8, 76u8, 250u8, - 36u8, 141u8, 67u8, 185u8, 17u8, + 195u8, 243u8, 79u8, 34u8, 111u8, 246u8, 109u8, 90u8, 251u8, 137u8, + 48u8, 23u8, 117u8, 29u8, 26u8, 200u8, 37u8, 64u8, 36u8, 254u8, 224u8, + 99u8, 165u8, 246u8, 8u8, 76u8, 250u8, 36u8, 141u8, 67u8, 185u8, 17u8, ], ) } @@ -25556,17 +24944,16 @@ pub mod api { #[doc = "the go-ahead signal while the PVF pre-checking feature is enabled."] pub fn add_trusted_validation_code( &self, - validation_code : runtime_types :: polkadot_parachain :: primitives :: ValidationCode, + validation_code: runtime_types::polkadot_parachain::primitives::ValidationCode, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Paras", "add_trusted_validation_code", AddTrustedValidationCode { validation_code }, [ - 160u8, 199u8, 245u8, 178u8, 58u8, 65u8, 79u8, 199u8, 53u8, - 60u8, 84u8, 225u8, 2u8, 145u8, 154u8, 204u8, 165u8, 171u8, - 173u8, 223u8, 59u8, 196u8, 37u8, 12u8, 243u8, 158u8, 77u8, - 184u8, 58u8, 64u8, 133u8, 71u8, + 160u8, 199u8, 245u8, 178u8, 58u8, 65u8, 79u8, 199u8, 53u8, 60u8, 84u8, + 225u8, 2u8, 145u8, 154u8, 204u8, 165u8, 171u8, 173u8, 223u8, 59u8, + 196u8, 37u8, 12u8, 243u8, 158u8, 77u8, 184u8, 58u8, 64u8, 133u8, 71u8, ], ) } @@ -25586,10 +24973,10 @@ pub mod api { validation_code_hash, }, [ - 98u8, 9u8, 24u8, 180u8, 8u8, 144u8, 36u8, 28u8, 111u8, 83u8, - 162u8, 160u8, 66u8, 119u8, 177u8, 117u8, 143u8, 233u8, 241u8, - 128u8, 189u8, 118u8, 241u8, 30u8, 74u8, 171u8, 193u8, 177u8, - 233u8, 12u8, 254u8, 146u8, + 98u8, 9u8, 24u8, 180u8, 8u8, 144u8, 36u8, 28u8, 111u8, 83u8, 162u8, + 160u8, 66u8, 119u8, 177u8, 117u8, 143u8, 233u8, 241u8, 128u8, 189u8, + 118u8, 241u8, 30u8, 74u8, 171u8, 193u8, 177u8, 233u8, 12u8, 254u8, + 146u8, ], ) } @@ -25598,17 +24985,16 @@ pub mod api { pub fn include_pvf_check_statement( &self, stmt: runtime_types::polkadot_primitives::v2::PvfCheckStatement, - signature : runtime_types :: polkadot_primitives :: v2 :: validator_app :: Signature, + signature: runtime_types::polkadot_primitives::v2::validator_app::Signature, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Paras", "include_pvf_check_statement", IncludePvfCheckStatement { stmt, signature }, [ - 22u8, 136u8, 241u8, 59u8, 36u8, 249u8, 239u8, 255u8, 169u8, - 117u8, 19u8, 58u8, 214u8, 16u8, 135u8, 65u8, 13u8, 250u8, - 5u8, 41u8, 144u8, 29u8, 207u8, 73u8, 215u8, 221u8, 1u8, - 253u8, 123u8, 110u8, 6u8, 196u8, + 22u8, 136u8, 241u8, 59u8, 36u8, 249u8, 239u8, 255u8, 169u8, 117u8, + 19u8, 58u8, 214u8, 16u8, 135u8, 65u8, 13u8, 250u8, 5u8, 41u8, 144u8, + 29u8, 207u8, 73u8, 215u8, 221u8, 1u8, 253u8, 123u8, 110u8, 6u8, 196u8, ], ) } @@ -25628,9 +25014,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Current code has been updated for a Para. `para_id`"] - pub struct CurrentCodeUpdated( - pub runtime_types::polkadot_parachain::primitives::Id, - ); + pub struct CurrentCodeUpdated(pub runtime_types::polkadot_parachain::primitives::Id); impl ::subxt::events::StaticEvent for CurrentCodeUpdated { const PALLET: &'static str = "Paras"; const EVENT: &'static str = "CurrentCodeUpdated"; @@ -25645,9 +25029,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Current head has been updated for a Para. `para_id`"] - pub struct CurrentHeadUpdated( - pub runtime_types::polkadot_parachain::primitives::Id, - ); + pub struct CurrentHeadUpdated(pub runtime_types::polkadot_parachain::primitives::Id); impl ::subxt::events::StaticEvent for CurrentHeadUpdated { const PALLET: &'static str = "Paras"; const EVENT: &'static str = "CurrentHeadUpdated"; @@ -25662,9 +25044,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A code upgrade has been scheduled for a Para. `para_id`"] - pub struct CodeUpgradeScheduled( - pub runtime_types::polkadot_parachain::primitives::Id, - ); + pub struct CodeUpgradeScheduled(pub runtime_types::polkadot_parachain::primitives::Id); impl ::subxt::events::StaticEvent for CodeUpgradeScheduled { const PALLET: &'static str = "Paras"; const EVENT: &'static str = "CodeUpgradeScheduled"; @@ -25679,9 +25059,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A new head has been noted for a Para. `para_id`"] - pub struct NewHeadNoted( - pub runtime_types::polkadot_parachain::primitives::Id, - ); + pub struct NewHeadNoted(pub runtime_types::polkadot_parachain::primitives::Id); impl ::subxt::events::StaticEvent for NewHeadNoted { const PALLET: &'static str = "Paras"; const EVENT: &'static str = "NewHeadNoted"; @@ -25769,34 +25147,59 @@ pub mod api { #[doc = " All currently active PVF pre-checking votes."] #[doc = ""] #[doc = " Invariant:"] - #[doc = " - There are no PVF pre-checking votes that exists in list but not in the set and vice versa."] pub fn pvf_active_vote_map (& self , _0 : impl :: std :: borrow :: Borrow < runtime_types :: polkadot_parachain :: primitives :: ValidationCodeHash > ,) -> :: subxt :: storage :: address :: Address :: < :: subxt :: storage :: address :: StaticStorageMapKey , runtime_types :: polkadot_runtime_parachains :: paras :: PvfCheckActiveVoteState < :: core :: primitive :: u32 > , :: subxt :: storage :: address :: Yes , () , :: subxt :: storage :: address :: Yes >{ + #[doc = " - There are no PVF pre-checking votes that exists in list but not in the set and vice versa."] + pub fn pvf_active_vote_map( + &self, + _0: impl ::std::borrow::Borrow< + runtime_types::polkadot_parachain::primitives::ValidationCodeHash, + >, + ) -> ::subxt::storage::address::Address< + ::subxt::storage::address::StaticStorageMapKey, + runtime_types::polkadot_runtime_parachains::paras::PvfCheckActiveVoteState< + ::core::primitive::u32, + >, + ::subxt::storage::address::Yes, + (), + ::subxt::storage::address::Yes, + > { ::subxt::storage::address::Address::new_static( "Paras", "PvfActiveVoteMap", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 84u8, 214u8, 221u8, 221u8, 244u8, 56u8, 135u8, 87u8, 252u8, - 39u8, 188u8, 13u8, 196u8, 25u8, 214u8, 186u8, 152u8, 181u8, - 190u8, 39u8, 235u8, 211u8, 236u8, 114u8, 67u8, 85u8, 138u8, - 43u8, 248u8, 134u8, 124u8, 73u8, + 84u8, 214u8, 221u8, 221u8, 244u8, 56u8, 135u8, 87u8, 252u8, 39u8, + 188u8, 13u8, 196u8, 25u8, 214u8, 186u8, 152u8, 181u8, 190u8, 39u8, + 235u8, 211u8, 236u8, 114u8, 67u8, 85u8, 138u8, 43u8, 248u8, 134u8, + 124u8, 73u8, ], ) } #[doc = " All currently active PVF pre-checking votes."] #[doc = ""] #[doc = " Invariant:"] - #[doc = " - There are no PVF pre-checking votes that exists in list but not in the set and vice versa."] pub fn pvf_active_vote_map_root (& self ,) -> :: subxt :: storage :: address :: Address :: < :: subxt :: storage :: address :: StaticStorageMapKey , runtime_types :: polkadot_runtime_parachains :: paras :: PvfCheckActiveVoteState < :: core :: primitive :: u32 > , () , () , :: subxt :: storage :: address :: Yes >{ + #[doc = " - There are no PVF pre-checking votes that exists in list but not in the set and vice versa."] + pub fn pvf_active_vote_map_root( + &self, + ) -> ::subxt::storage::address::Address< + ::subxt::storage::address::StaticStorageMapKey, + runtime_types::polkadot_runtime_parachains::paras::PvfCheckActiveVoteState< + ::core::primitive::u32, + >, + (), + (), + ::subxt::storage::address::Yes, + > { ::subxt::storage::address::Address::new_static( "Paras", "PvfActiveVoteMap", Vec::new(), [ - 84u8, 214u8, 221u8, 221u8, 244u8, 56u8, 135u8, 87u8, 252u8, - 39u8, 188u8, 13u8, 196u8, 25u8, 214u8, 186u8, 152u8, 181u8, - 190u8, 39u8, 235u8, 211u8, 236u8, 114u8, 67u8, 85u8, 138u8, - 43u8, 248u8, 134u8, 124u8, 73u8, + 84u8, 214u8, 221u8, 221u8, 244u8, 56u8, 135u8, 87u8, 252u8, 39u8, + 188u8, 13u8, 196u8, 25u8, 214u8, 186u8, 152u8, 181u8, 190u8, 39u8, + 235u8, 211u8, 236u8, 114u8, 67u8, 85u8, 138u8, 43u8, 248u8, 134u8, + 124u8, 73u8, ], ) } @@ -25817,10 +25220,9 @@ pub mod api { "PvfActiveVoteList", vec![], [ - 196u8, 23u8, 108u8, 162u8, 29u8, 33u8, 49u8, 219u8, 127u8, - 26u8, 241u8, 58u8, 102u8, 43u8, 156u8, 3u8, 87u8, 153u8, - 195u8, 96u8, 68u8, 132u8, 170u8, 162u8, 18u8, 156u8, 121u8, - 63u8, 53u8, 91u8, 68u8, 69u8, + 196u8, 23u8, 108u8, 162u8, 29u8, 33u8, 49u8, 219u8, 127u8, 26u8, 241u8, + 58u8, 102u8, 43u8, 156u8, 3u8, 87u8, 153u8, 195u8, 96u8, 68u8, 132u8, + 170u8, 162u8, 18u8, 156u8, 121u8, 63u8, 53u8, 91u8, 68u8, 69u8, ], ) } @@ -25841,19 +25243,16 @@ pub mod api { "Parachains", vec![], [ - 85u8, 234u8, 218u8, 69u8, 20u8, 169u8, 235u8, 6u8, 69u8, - 126u8, 28u8, 18u8, 57u8, 93u8, 238u8, 7u8, 167u8, 221u8, - 75u8, 35u8, 36u8, 4u8, 46u8, 55u8, 234u8, 123u8, 122u8, - 173u8, 13u8, 205u8, 58u8, 226u8, + 85u8, 234u8, 218u8, 69u8, 20u8, 169u8, 235u8, 6u8, 69u8, 126u8, 28u8, + 18u8, 57u8, 93u8, 238u8, 7u8, 167u8, 221u8, 75u8, 35u8, 36u8, 4u8, + 46u8, 55u8, 234u8, 123u8, 122u8, 173u8, 13u8, 205u8, 58u8, 226u8, ], ) } #[doc = " The current lifecycle of a all known Para IDs."] pub fn para_lifecycles( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, runtime_types::polkadot_runtime_parachains::paras::ParaLifecycle, @@ -25864,14 +25263,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Paras", "ParaLifecycles", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 221u8, 103u8, 112u8, 222u8, 86u8, 2u8, 172u8, 187u8, 174u8, - 106u8, 4u8, 253u8, 35u8, 73u8, 18u8, 78u8, 25u8, 31u8, 124u8, - 110u8, 81u8, 62u8, 215u8, 228u8, 183u8, 132u8, 138u8, 213u8, - 186u8, 209u8, 191u8, 186u8, + 221u8, 103u8, 112u8, 222u8, 86u8, 2u8, 172u8, 187u8, 174u8, 106u8, 4u8, + 253u8, 35u8, 73u8, 18u8, 78u8, 25u8, 31u8, 124u8, 110u8, 81u8, 62u8, + 215u8, 228u8, 183u8, 132u8, 138u8, 213u8, 186u8, 209u8, 191u8, 186u8, ], ) } @@ -25890,19 +25288,16 @@ pub mod api { "ParaLifecycles", Vec::new(), [ - 221u8, 103u8, 112u8, 222u8, 86u8, 2u8, 172u8, 187u8, 174u8, - 106u8, 4u8, 253u8, 35u8, 73u8, 18u8, 78u8, 25u8, 31u8, 124u8, - 110u8, 81u8, 62u8, 215u8, 228u8, 183u8, 132u8, 138u8, 213u8, - 186u8, 209u8, 191u8, 186u8, + 221u8, 103u8, 112u8, 222u8, 86u8, 2u8, 172u8, 187u8, 174u8, 106u8, 4u8, + 253u8, 35u8, 73u8, 18u8, 78u8, 25u8, 31u8, 124u8, 110u8, 81u8, 62u8, + 215u8, 228u8, 183u8, 132u8, 138u8, 213u8, 186u8, 209u8, 191u8, 186u8, ], ) } #[doc = " The head-data of every registered para."] pub fn heads( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, runtime_types::polkadot_parachain::primitives::HeadData, @@ -25913,14 +25308,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Paras", "Heads", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 122u8, 38u8, 181u8, 121u8, 245u8, 100u8, 136u8, 233u8, 237u8, - 248u8, 127u8, 2u8, 147u8, 41u8, 202u8, 242u8, 238u8, 70u8, - 55u8, 200u8, 15u8, 106u8, 138u8, 108u8, 192u8, 61u8, 158u8, - 134u8, 131u8, 142u8, 70u8, 3u8, + 122u8, 38u8, 181u8, 121u8, 245u8, 100u8, 136u8, 233u8, 237u8, 248u8, + 127u8, 2u8, 147u8, 41u8, 202u8, 242u8, 238u8, 70u8, 55u8, 200u8, 15u8, + 106u8, 138u8, 108u8, 192u8, 61u8, 158u8, 134u8, 131u8, 142u8, 70u8, + 3u8, ], ) } @@ -25939,10 +25334,10 @@ pub mod api { "Heads", Vec::new(), [ - 122u8, 38u8, 181u8, 121u8, 245u8, 100u8, 136u8, 233u8, 237u8, - 248u8, 127u8, 2u8, 147u8, 41u8, 202u8, 242u8, 238u8, 70u8, - 55u8, 200u8, 15u8, 106u8, 138u8, 108u8, 192u8, 61u8, 158u8, - 134u8, 131u8, 142u8, 70u8, 3u8, + 122u8, 38u8, 181u8, 121u8, 245u8, 100u8, 136u8, 233u8, 237u8, 248u8, + 127u8, 2u8, 147u8, 41u8, 202u8, 242u8, 238u8, 70u8, 55u8, 200u8, 15u8, + 106u8, 138u8, 108u8, 192u8, 61u8, 158u8, 134u8, 131u8, 142u8, 70u8, + 3u8, ], ) } @@ -25951,9 +25346,7 @@ pub mod api { #[doc = " Corresponding code can be retrieved with [`CodeByHash`]."] pub fn current_code_hash( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, runtime_types::polkadot_parachain::primitives::ValidationCodeHash, @@ -25964,14 +25357,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Paras", "CurrentCodeHash", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 179u8, 145u8, 45u8, 44u8, 130u8, 240u8, 50u8, 128u8, 190u8, - 133u8, 66u8, 85u8, 47u8, 141u8, 56u8, 87u8, 131u8, 99u8, - 170u8, 203u8, 8u8, 51u8, 123u8, 73u8, 206u8, 30u8, 173u8, - 35u8, 157u8, 195u8, 104u8, 236u8, + 179u8, 145u8, 45u8, 44u8, 130u8, 240u8, 50u8, 128u8, 190u8, 133u8, + 66u8, 85u8, 47u8, 141u8, 56u8, 87u8, 131u8, 99u8, 170u8, 203u8, 8u8, + 51u8, 123u8, 73u8, 206u8, 30u8, 173u8, 35u8, 157u8, 195u8, 104u8, + 236u8, ], ) } @@ -25992,10 +25385,10 @@ pub mod api { "CurrentCodeHash", Vec::new(), [ - 179u8, 145u8, 45u8, 44u8, 130u8, 240u8, 50u8, 128u8, 190u8, - 133u8, 66u8, 85u8, 47u8, 141u8, 56u8, 87u8, 131u8, 99u8, - 170u8, 203u8, 8u8, 51u8, 123u8, 73u8, 206u8, 30u8, 173u8, - 35u8, 157u8, 195u8, 104u8, 236u8, + 179u8, 145u8, 45u8, 44u8, 130u8, 240u8, 50u8, 128u8, 190u8, 133u8, + 66u8, 85u8, 47u8, 141u8, 56u8, 87u8, 131u8, 99u8, 170u8, 203u8, 8u8, + 51u8, 123u8, 73u8, 206u8, 30u8, 173u8, 35u8, 157u8, 195u8, 104u8, + 236u8, ], ) } @@ -26005,9 +25398,7 @@ pub mod api { #[doc = " Corresponding code can be retrieved with [`CodeByHash`]."] pub fn past_code_hash( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, _1: impl ::std::borrow::Borrow<::core::primitive::u32>, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, @@ -26020,18 +25411,14 @@ pub mod api { "Paras", "PastCodeHash", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 241u8, 112u8, 128u8, 226u8, 163u8, 193u8, 77u8, 78u8, 177u8, - 146u8, 31u8, 143u8, 44u8, 140u8, 159u8, 134u8, 221u8, 129u8, - 36u8, 224u8, 46u8, 119u8, 245u8, 253u8, 55u8, 22u8, 137u8, - 187u8, 71u8, 94u8, 88u8, 124u8, + 241u8, 112u8, 128u8, 226u8, 163u8, 193u8, 77u8, 78u8, 177u8, 146u8, + 31u8, 143u8, 44u8, 140u8, 159u8, 134u8, 221u8, 129u8, 36u8, 224u8, + 46u8, 119u8, 245u8, 253u8, 55u8, 22u8, 137u8, 187u8, 71u8, 94u8, 88u8, + 124u8, ], ) } @@ -26053,10 +25440,10 @@ pub mod api { "PastCodeHash", Vec::new(), [ - 241u8, 112u8, 128u8, 226u8, 163u8, 193u8, 77u8, 78u8, 177u8, - 146u8, 31u8, 143u8, 44u8, 140u8, 159u8, 134u8, 221u8, 129u8, - 36u8, 224u8, 46u8, 119u8, 245u8, 253u8, 55u8, 22u8, 137u8, - 187u8, 71u8, 94u8, 88u8, 124u8, + 241u8, 112u8, 128u8, 226u8, 163u8, 193u8, 77u8, 78u8, 177u8, 146u8, + 31u8, 143u8, 44u8, 140u8, 159u8, 134u8, 221u8, 129u8, 36u8, 224u8, + 46u8, 119u8, 245u8, 253u8, 55u8, 22u8, 137u8, 187u8, 71u8, 94u8, 88u8, + 124u8, ], ) } @@ -26065,9 +25452,7 @@ pub mod api { #[doc = " to keep it available for secondary checkers."] pub fn past_code_meta( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, runtime_types::polkadot_runtime_parachains::paras::ParaPastCodeMeta< @@ -26080,14 +25465,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Paras", "PastCodeMeta", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 251u8, 52u8, 126u8, 12u8, 21u8, 178u8, 151u8, 195u8, 153u8, - 17u8, 215u8, 242u8, 118u8, 192u8, 86u8, 72u8, 36u8, 97u8, - 245u8, 134u8, 155u8, 117u8, 85u8, 93u8, 225u8, 209u8, 63u8, - 164u8, 168u8, 72u8, 171u8, 228u8, + 251u8, 52u8, 126u8, 12u8, 21u8, 178u8, 151u8, 195u8, 153u8, 17u8, + 215u8, 242u8, 118u8, 192u8, 86u8, 72u8, 36u8, 97u8, 245u8, 134u8, + 155u8, 117u8, 85u8, 93u8, 225u8, 209u8, 63u8, 164u8, 168u8, 72u8, + 171u8, 228u8, ], ) } @@ -26110,10 +25495,10 @@ pub mod api { "PastCodeMeta", Vec::new(), [ - 251u8, 52u8, 126u8, 12u8, 21u8, 178u8, 151u8, 195u8, 153u8, - 17u8, 215u8, 242u8, 118u8, 192u8, 86u8, 72u8, 36u8, 97u8, - 245u8, 134u8, 155u8, 117u8, 85u8, 93u8, 225u8, 209u8, 63u8, - 164u8, 168u8, 72u8, 171u8, 228u8, + 251u8, 52u8, 126u8, 12u8, 21u8, 178u8, 151u8, 195u8, 153u8, 17u8, + 215u8, 242u8, 118u8, 192u8, 86u8, 72u8, 36u8, 97u8, 245u8, 134u8, + 155u8, 117u8, 85u8, 93u8, 225u8, 209u8, 63u8, 164u8, 168u8, 72u8, + 171u8, 228u8, ], ) } @@ -26140,10 +25525,9 @@ pub mod api { "PastCodePruning", vec![], [ - 59u8, 26u8, 175u8, 129u8, 174u8, 27u8, 239u8, 77u8, 38u8, - 130u8, 37u8, 134u8, 62u8, 28u8, 218u8, 176u8, 16u8, 137u8, - 175u8, 90u8, 248u8, 44u8, 248u8, 172u8, 231u8, 6u8, 36u8, - 190u8, 109u8, 237u8, 228u8, 135u8, + 59u8, 26u8, 175u8, 129u8, 174u8, 27u8, 239u8, 77u8, 38u8, 130u8, 37u8, + 134u8, 62u8, 28u8, 218u8, 176u8, 16u8, 137u8, 175u8, 90u8, 248u8, 44u8, + 248u8, 172u8, 231u8, 6u8, 36u8, 190u8, 109u8, 237u8, 228u8, 135u8, ], ) } @@ -26152,9 +25536,7 @@ pub mod api { #[doc = " in the context of a relay chain block with a number >= `expected_at`."] pub fn future_code_upgrades( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, ::core::primitive::u32, @@ -26165,14 +25547,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Paras", "FutureCodeUpgrades", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 40u8, 134u8, 185u8, 28u8, 48u8, 105u8, 152u8, 229u8, 166u8, - 235u8, 32u8, 173u8, 64u8, 63u8, 151u8, 157u8, 190u8, 214u8, - 7u8, 8u8, 6u8, 128u8, 21u8, 104u8, 175u8, 71u8, 130u8, 207u8, - 158u8, 115u8, 172u8, 149u8, + 40u8, 134u8, 185u8, 28u8, 48u8, 105u8, 152u8, 229u8, 166u8, 235u8, + 32u8, 173u8, 64u8, 63u8, 151u8, 157u8, 190u8, 214u8, 7u8, 8u8, 6u8, + 128u8, 21u8, 104u8, 175u8, 71u8, 130u8, 207u8, 158u8, 115u8, 172u8, + 149u8, ], ) } @@ -26193,10 +25575,10 @@ pub mod api { "FutureCodeUpgrades", Vec::new(), [ - 40u8, 134u8, 185u8, 28u8, 48u8, 105u8, 152u8, 229u8, 166u8, - 235u8, 32u8, 173u8, 64u8, 63u8, 151u8, 157u8, 190u8, 214u8, - 7u8, 8u8, 6u8, 128u8, 21u8, 104u8, 175u8, 71u8, 130u8, 207u8, - 158u8, 115u8, 172u8, 149u8, + 40u8, 134u8, 185u8, 28u8, 48u8, 105u8, 152u8, 229u8, 166u8, 235u8, + 32u8, 173u8, 64u8, 63u8, 151u8, 157u8, 190u8, 214u8, 7u8, 8u8, 6u8, + 128u8, 21u8, 104u8, 175u8, 71u8, 130u8, 207u8, 158u8, 115u8, 172u8, + 149u8, ], ) } @@ -26205,9 +25587,7 @@ pub mod api { #[doc = " Corresponding code can be retrieved with [`CodeByHash`]."] pub fn future_code_hash( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, runtime_types::polkadot_parachain::primitives::ValidationCodeHash, @@ -26218,14 +25598,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Paras", "FutureCodeHash", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 252u8, 24u8, 95u8, 200u8, 207u8, 91u8, 66u8, 103u8, 54u8, - 171u8, 191u8, 187u8, 73u8, 170u8, 132u8, 59u8, 205u8, 125u8, - 68u8, 194u8, 122u8, 124u8, 190u8, 53u8, 241u8, 225u8, 131u8, - 53u8, 44u8, 145u8, 244u8, 216u8, + 252u8, 24u8, 95u8, 200u8, 207u8, 91u8, 66u8, 103u8, 54u8, 171u8, 191u8, + 187u8, 73u8, 170u8, 132u8, 59u8, 205u8, 125u8, 68u8, 194u8, 122u8, + 124u8, 190u8, 53u8, 241u8, 225u8, 131u8, 53u8, 44u8, 145u8, 244u8, + 216u8, ], ) } @@ -26246,10 +25626,10 @@ pub mod api { "FutureCodeHash", Vec::new(), [ - 252u8, 24u8, 95u8, 200u8, 207u8, 91u8, 66u8, 103u8, 54u8, - 171u8, 191u8, 187u8, 73u8, 170u8, 132u8, 59u8, 205u8, 125u8, - 68u8, 194u8, 122u8, 124u8, 190u8, 53u8, 241u8, 225u8, 131u8, - 53u8, 44u8, 145u8, 244u8, 216u8, + 252u8, 24u8, 95u8, 200u8, 207u8, 91u8, 66u8, 103u8, 54u8, 171u8, 191u8, + 187u8, 73u8, 170u8, 132u8, 59u8, 205u8, 125u8, 68u8, 194u8, 122u8, + 124u8, 190u8, 53u8, 241u8, 225u8, 131u8, 53u8, 44u8, 145u8, 244u8, + 216u8, ], ) } @@ -26264,9 +25644,7 @@ pub mod api { #[doc = " the format will require migration of parachains."] pub fn upgrade_go_ahead_signal( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, runtime_types::polkadot_primitives::v2::UpgradeGoAhead, @@ -26277,14 +25655,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Paras", "UpgradeGoAheadSignal", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 159u8, 47u8, 247u8, 154u8, 54u8, 20u8, 235u8, 49u8, 74u8, - 41u8, 65u8, 51u8, 52u8, 187u8, 242u8, 6u8, 84u8, 144u8, - 200u8, 176u8, 222u8, 232u8, 70u8, 50u8, 70u8, 97u8, 61u8, - 249u8, 245u8, 120u8, 98u8, 183u8, + 159u8, 47u8, 247u8, 154u8, 54u8, 20u8, 235u8, 49u8, 74u8, 41u8, 65u8, + 51u8, 52u8, 187u8, 242u8, 6u8, 84u8, 144u8, 200u8, 176u8, 222u8, 232u8, + 70u8, 50u8, 70u8, 97u8, 61u8, 249u8, 245u8, 120u8, 98u8, 183u8, ], ) } @@ -26311,10 +25688,9 @@ pub mod api { "UpgradeGoAheadSignal", Vec::new(), [ - 159u8, 47u8, 247u8, 154u8, 54u8, 20u8, 235u8, 49u8, 74u8, - 41u8, 65u8, 51u8, 52u8, 187u8, 242u8, 6u8, 84u8, 144u8, - 200u8, 176u8, 222u8, 232u8, 70u8, 50u8, 70u8, 97u8, 61u8, - 249u8, 245u8, 120u8, 98u8, 183u8, + 159u8, 47u8, 247u8, 154u8, 54u8, 20u8, 235u8, 49u8, 74u8, 41u8, 65u8, + 51u8, 52u8, 187u8, 242u8, 6u8, 84u8, 144u8, 200u8, 176u8, 222u8, 232u8, + 70u8, 50u8, 70u8, 97u8, 61u8, 249u8, 245u8, 120u8, 98u8, 183u8, ], ) } @@ -26329,9 +25705,7 @@ pub mod api { #[doc = " the format will require migration of parachains."] pub fn upgrade_restriction_signal( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, runtime_types::polkadot_primitives::v2::UpgradeRestriction, @@ -26342,14 +25716,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Paras", "UpgradeRestrictionSignal", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 86u8, 190u8, 41u8, 79u8, 66u8, 68u8, 46u8, 87u8, 212u8, - 176u8, 255u8, 134u8, 104u8, 121u8, 44u8, 143u8, 248u8, 100u8, - 35u8, 157u8, 91u8, 165u8, 118u8, 38u8, 49u8, 171u8, 158u8, - 163u8, 45u8, 92u8, 44u8, 11u8, + 86u8, 190u8, 41u8, 79u8, 66u8, 68u8, 46u8, 87u8, 212u8, 176u8, 255u8, + 134u8, 104u8, 121u8, 44u8, 143u8, 248u8, 100u8, 35u8, 157u8, 91u8, + 165u8, 118u8, 38u8, 49u8, 171u8, 158u8, 163u8, 45u8, 92u8, 44u8, 11u8, ], ) } @@ -26376,10 +25749,9 @@ pub mod api { "UpgradeRestrictionSignal", Vec::new(), [ - 86u8, 190u8, 41u8, 79u8, 66u8, 68u8, 46u8, 87u8, 212u8, - 176u8, 255u8, 134u8, 104u8, 121u8, 44u8, 143u8, 248u8, 100u8, - 35u8, 157u8, 91u8, 165u8, 118u8, 38u8, 49u8, 171u8, 158u8, - 163u8, 45u8, 92u8, 44u8, 11u8, + 86u8, 190u8, 41u8, 79u8, 66u8, 68u8, 46u8, 87u8, 212u8, 176u8, 255u8, + 134u8, 104u8, 121u8, 44u8, 143u8, 248u8, 100u8, 35u8, 157u8, 91u8, + 165u8, 118u8, 38u8, 49u8, 171u8, 158u8, 163u8, 45u8, 92u8, 44u8, 11u8, ], ) } @@ -26403,10 +25775,10 @@ pub mod api { "UpgradeCooldowns", vec![], [ - 205u8, 236u8, 140u8, 145u8, 241u8, 245u8, 60u8, 68u8, 23u8, - 175u8, 226u8, 174u8, 154u8, 107u8, 243u8, 197u8, 61u8, 218u8, - 7u8, 24u8, 109u8, 221u8, 178u8, 80u8, 242u8, 123u8, 33u8, - 119u8, 5u8, 241u8, 179u8, 13u8, + 205u8, 236u8, 140u8, 145u8, 241u8, 245u8, 60u8, 68u8, 23u8, 175u8, + 226u8, 174u8, 154u8, 107u8, 243u8, 197u8, 61u8, 218u8, 7u8, 24u8, + 109u8, 221u8, 178u8, 80u8, 242u8, 123u8, 33u8, 119u8, 5u8, 241u8, + 179u8, 13u8, ], ) } @@ -26431,10 +25803,10 @@ pub mod api { "UpcomingUpgrades", vec![], [ - 165u8, 112u8, 215u8, 149u8, 125u8, 175u8, 206u8, 195u8, - 214u8, 173u8, 0u8, 144u8, 46u8, 197u8, 55u8, 204u8, 144u8, - 68u8, 158u8, 156u8, 145u8, 230u8, 173u8, 101u8, 255u8, 108u8, - 52u8, 199u8, 142u8, 37u8, 55u8, 32u8, + 165u8, 112u8, 215u8, 149u8, 125u8, 175u8, 206u8, 195u8, 214u8, 173u8, + 0u8, 144u8, 46u8, 197u8, 55u8, 204u8, 144u8, 68u8, 158u8, 156u8, 145u8, + 230u8, 173u8, 101u8, 255u8, 108u8, 52u8, 199u8, 142u8, 37u8, 55u8, + 32u8, ], ) } @@ -26452,14 +25824,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Paras", "ActionsQueue", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 209u8, 106u8, 198u8, 228u8, 148u8, 75u8, 246u8, 248u8, 12u8, - 143u8, 175u8, 56u8, 168u8, 243u8, 67u8, 166u8, 59u8, 92u8, - 219u8, 184u8, 1u8, 34u8, 241u8, 66u8, 245u8, 48u8, 174u8, - 41u8, 123u8, 16u8, 178u8, 161u8, + 209u8, 106u8, 198u8, 228u8, 148u8, 75u8, 246u8, 248u8, 12u8, 143u8, + 175u8, 56u8, 168u8, 243u8, 67u8, 166u8, 59u8, 92u8, 219u8, 184u8, 1u8, + 34u8, 241u8, 66u8, 245u8, 48u8, 174u8, 41u8, 123u8, 16u8, 178u8, 161u8, ], ) } @@ -26478,10 +25849,9 @@ pub mod api { "ActionsQueue", Vec::new(), [ - 209u8, 106u8, 198u8, 228u8, 148u8, 75u8, 246u8, 248u8, 12u8, - 143u8, 175u8, 56u8, 168u8, 243u8, 67u8, 166u8, 59u8, 92u8, - 219u8, 184u8, 1u8, 34u8, 241u8, 66u8, 245u8, 48u8, 174u8, - 41u8, 123u8, 16u8, 178u8, 161u8, + 209u8, 106u8, 198u8, 228u8, 148u8, 75u8, 246u8, 248u8, 12u8, 143u8, + 175u8, 56u8, 168u8, 243u8, 67u8, 166u8, 59u8, 92u8, 219u8, 184u8, 1u8, + 34u8, 241u8, 66u8, 245u8, 48u8, 174u8, 41u8, 123u8, 16u8, 178u8, 161u8, ], ) } @@ -26491,9 +25861,7 @@ pub mod api { #[doc = " to empty. Instead, the code will be saved into the storage right away via `CodeByHash`."] pub fn upcoming_paras_genesis( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, runtime_types::polkadot_runtime_parachains::paras::ParaGenesisArgs, @@ -26504,14 +25872,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Paras", "UpcomingParasGenesis", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 134u8, 111u8, 59u8, 49u8, 28u8, 111u8, 6u8, 57u8, 109u8, - 75u8, 75u8, 53u8, 91u8, 150u8, 86u8, 38u8, 223u8, 50u8, - 107u8, 75u8, 200u8, 61u8, 211u8, 7u8, 105u8, 251u8, 243u8, - 18u8, 220u8, 195u8, 216u8, 167u8, + 134u8, 111u8, 59u8, 49u8, 28u8, 111u8, 6u8, 57u8, 109u8, 75u8, 75u8, + 53u8, 91u8, 150u8, 86u8, 38u8, 223u8, 50u8, 107u8, 75u8, 200u8, 61u8, + 211u8, 7u8, 105u8, 251u8, 243u8, 18u8, 220u8, 195u8, 216u8, 167u8, ], ) } @@ -26533,10 +25900,9 @@ pub mod api { "UpcomingParasGenesis", Vec::new(), [ - 134u8, 111u8, 59u8, 49u8, 28u8, 111u8, 6u8, 57u8, 109u8, - 75u8, 75u8, 53u8, 91u8, 150u8, 86u8, 38u8, 223u8, 50u8, - 107u8, 75u8, 200u8, 61u8, 211u8, 7u8, 105u8, 251u8, 243u8, - 18u8, 220u8, 195u8, 216u8, 167u8, + 134u8, 111u8, 59u8, 49u8, 28u8, 111u8, 6u8, 57u8, 109u8, 75u8, 75u8, + 53u8, 91u8, 150u8, 86u8, 38u8, 223u8, 50u8, 107u8, 75u8, 200u8, 61u8, + 211u8, 7u8, 105u8, 251u8, 243u8, 18u8, 220u8, 195u8, 216u8, 167u8, ], ) } @@ -26556,14 +25922,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Paras", "CodeByHashRefs", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 24u8, 6u8, 23u8, 50u8, 105u8, 203u8, 126u8, 161u8, 0u8, 5u8, - 121u8, 165u8, 204u8, 106u8, 68u8, 91u8, 84u8, 126u8, 29u8, - 239u8, 236u8, 138u8, 32u8, 237u8, 241u8, 226u8, 190u8, 233u8, - 160u8, 143u8, 88u8, 168u8, + 24u8, 6u8, 23u8, 50u8, 105u8, 203u8, 126u8, 161u8, 0u8, 5u8, 121u8, + 165u8, 204u8, 106u8, 68u8, 91u8, 84u8, 126u8, 29u8, 239u8, 236u8, + 138u8, 32u8, 237u8, 241u8, 226u8, 190u8, 233u8, 160u8, 143u8, 88u8, + 168u8, ], ) } @@ -26582,10 +25948,10 @@ pub mod api { "CodeByHashRefs", Vec::new(), [ - 24u8, 6u8, 23u8, 50u8, 105u8, 203u8, 126u8, 161u8, 0u8, 5u8, - 121u8, 165u8, 204u8, 106u8, 68u8, 91u8, 84u8, 126u8, 29u8, - 239u8, 236u8, 138u8, 32u8, 237u8, 241u8, 226u8, 190u8, 233u8, - 160u8, 143u8, 88u8, 168u8, + 24u8, 6u8, 23u8, 50u8, 105u8, 203u8, 126u8, 161u8, 0u8, 5u8, 121u8, + 165u8, 204u8, 106u8, 68u8, 91u8, 84u8, 126u8, 29u8, 239u8, 236u8, + 138u8, 32u8, 237u8, 241u8, 226u8, 190u8, 233u8, 160u8, 143u8, 88u8, + 168u8, ], ) } @@ -26608,14 +25974,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Paras", "CodeByHash", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 58u8, 104u8, 36u8, 34u8, 226u8, 210u8, 253u8, 90u8, 23u8, - 3u8, 6u8, 202u8, 9u8, 44u8, 107u8, 108u8, 41u8, 149u8, 255u8, - 173u8, 119u8, 206u8, 201u8, 180u8, 32u8, 193u8, 44u8, 232u8, - 73u8, 15u8, 210u8, 226u8, + 58u8, 104u8, 36u8, 34u8, 226u8, 210u8, 253u8, 90u8, 23u8, 3u8, 6u8, + 202u8, 9u8, 44u8, 107u8, 108u8, 41u8, 149u8, 255u8, 173u8, 119u8, + 206u8, 201u8, 180u8, 32u8, 193u8, 44u8, 232u8, 73u8, 15u8, 210u8, + 226u8, ], ) } @@ -26637,10 +26003,10 @@ pub mod api { "CodeByHash", Vec::new(), [ - 58u8, 104u8, 36u8, 34u8, 226u8, 210u8, 253u8, 90u8, 23u8, - 3u8, 6u8, 202u8, 9u8, 44u8, 107u8, 108u8, 41u8, 149u8, 255u8, - 173u8, 119u8, 206u8, 201u8, 180u8, 32u8, 193u8, 44u8, 232u8, - 73u8, 15u8, 210u8, 226u8, + 58u8, 104u8, 36u8, 34u8, 226u8, 210u8, 253u8, 90u8, 23u8, 3u8, 6u8, + 202u8, 9u8, 44u8, 107u8, 108u8, 41u8, 149u8, 255u8, 173u8, 119u8, + 206u8, 201u8, 180u8, 32u8, 193u8, 44u8, 232u8, 73u8, 15u8, 210u8, + 226u8, ], ) } @@ -26657,10 +26023,10 @@ pub mod api { "Paras", "UnsignedPriority", [ - 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, - 190u8, 146u8, 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, - 65u8, 18u8, 191u8, 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, - 220u8, 42u8, 184u8, 239u8, 42u8, 246u8, + 128u8, 214u8, 205u8, 242u8, 181u8, 142u8, 124u8, 231u8, 190u8, 146u8, + 59u8, 226u8, 157u8, 101u8, 103u8, 117u8, 249u8, 65u8, 18u8, 191u8, + 103u8, 119u8, 53u8, 85u8, 81u8, 96u8, 220u8, 42u8, 184u8, 239u8, 42u8, + 246u8, ], ) } @@ -26702,10 +26068,9 @@ pub mod api { "force_approve", ForceApprove { up_to }, [ - 28u8, 117u8, 86u8, 182u8, 19u8, 127u8, 43u8, 17u8, 153u8, - 80u8, 193u8, 53u8, 120u8, 41u8, 205u8, 23u8, 252u8, 148u8, - 77u8, 227u8, 138u8, 35u8, 182u8, 122u8, 112u8, 232u8, 246u8, - 69u8, 173u8, 97u8, 42u8, 103u8, + 28u8, 117u8, 86u8, 182u8, 19u8, 127u8, 43u8, 17u8, 153u8, 80u8, 193u8, + 53u8, 120u8, 41u8, 205u8, 23u8, 252u8, 148u8, 77u8, 227u8, 138u8, 35u8, + 182u8, 122u8, 112u8, 232u8, 246u8, 69u8, 173u8, 97u8, 42u8, 103u8, ], ) } @@ -26737,10 +26102,10 @@ pub mod api { "HasInitialized", vec![], [ - 251u8, 135u8, 247u8, 61u8, 139u8, 102u8, 12u8, 122u8, 227u8, - 123u8, 11u8, 232u8, 120u8, 80u8, 81u8, 48u8, 216u8, 115u8, - 159u8, 131u8, 133u8, 105u8, 200u8, 122u8, 114u8, 6u8, 109u8, - 4u8, 164u8, 204u8, 214u8, 111u8, + 251u8, 135u8, 247u8, 61u8, 139u8, 102u8, 12u8, 122u8, 227u8, 123u8, + 11u8, 232u8, 120u8, 80u8, 81u8, 48u8, 216u8, 115u8, 159u8, 131u8, + 133u8, 105u8, 200u8, 122u8, 114u8, 6u8, 109u8, 4u8, 164u8, 204u8, + 214u8, 111u8, ], ) } @@ -26756,10 +26121,10 @@ pub mod api { "BufferedSessionChanges", vec![], [ - 176u8, 60u8, 165u8, 138u8, 99u8, 140u8, 22u8, 169u8, 121u8, - 65u8, 203u8, 85u8, 39u8, 198u8, 91u8, 167u8, 118u8, 49u8, - 129u8, 128u8, 171u8, 232u8, 249u8, 39u8, 6u8, 101u8, 57u8, - 193u8, 85u8, 143u8, 105u8, 29u8, + 176u8, 60u8, 165u8, 138u8, 99u8, 140u8, 22u8, 169u8, 121u8, 65u8, + 203u8, 85u8, 39u8, 198u8, 91u8, 167u8, 118u8, 49u8, 129u8, 128u8, + 171u8, 232u8, 249u8, 39u8, 6u8, 101u8, 57u8, 193u8, 85u8, 143u8, 105u8, + 29u8, ], ) } @@ -26784,9 +26149,7 @@ pub mod api { #[doc = " The downward messages addressed for a certain para."] pub fn downward_message_queues( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, ::std::vec::Vec< @@ -26801,14 +26164,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Dmp", "DownwardMessageQueues", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 57u8, 115u8, 112u8, 195u8, 25u8, 43u8, 104u8, 199u8, 107u8, - 238u8, 93u8, 129u8, 141u8, 167u8, 167u8, 9u8, 85u8, 34u8, - 53u8, 117u8, 148u8, 246u8, 196u8, 46u8, 96u8, 114u8, 15u8, - 88u8, 94u8, 40u8, 18u8, 31u8, + 57u8, 115u8, 112u8, 195u8, 25u8, 43u8, 104u8, 199u8, 107u8, 238u8, + 93u8, 129u8, 141u8, 167u8, 167u8, 9u8, 85u8, 34u8, 53u8, 117u8, 148u8, + 246u8, 196u8, 46u8, 96u8, 114u8, 15u8, 88u8, 94u8, 40u8, 18u8, 31u8, ], ) } @@ -26831,10 +26193,9 @@ pub mod api { "DownwardMessageQueues", Vec::new(), [ - 57u8, 115u8, 112u8, 195u8, 25u8, 43u8, 104u8, 199u8, 107u8, - 238u8, 93u8, 129u8, 141u8, 167u8, 167u8, 9u8, 85u8, 34u8, - 53u8, 117u8, 148u8, 246u8, 196u8, 46u8, 96u8, 114u8, 15u8, - 88u8, 94u8, 40u8, 18u8, 31u8, + 57u8, 115u8, 112u8, 195u8, 25u8, 43u8, 104u8, 199u8, 107u8, 238u8, + 93u8, 129u8, 141u8, 167u8, 167u8, 9u8, 85u8, 34u8, 53u8, 117u8, 148u8, + 246u8, 196u8, 46u8, 96u8, 114u8, 15u8, 88u8, 94u8, 40u8, 18u8, 31u8, ], ) } @@ -26847,9 +26208,7 @@ pub mod api { #[doc = " - `H(M)`: is the hash of the message being appended."] pub fn downward_message_queue_heads( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, ::subxt::utils::H256, @@ -26860,14 +26219,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Dmp", "DownwardMessageQueueHeads", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 137u8, 70u8, 108u8, 184u8, 177u8, 204u8, 17u8, 187u8, 250u8, - 134u8, 85u8, 18u8, 239u8, 185u8, 167u8, 224u8, 70u8, 18u8, - 38u8, 245u8, 176u8, 122u8, 254u8, 251u8, 204u8, 126u8, 34u8, - 207u8, 163u8, 104u8, 103u8, 38u8, + 137u8, 70u8, 108u8, 184u8, 177u8, 204u8, 17u8, 187u8, 250u8, 134u8, + 85u8, 18u8, 239u8, 185u8, 167u8, 224u8, 70u8, 18u8, 38u8, 245u8, 176u8, + 122u8, 254u8, 251u8, 204u8, 126u8, 34u8, 207u8, 163u8, 104u8, 103u8, + 38u8, ], ) } @@ -26892,10 +26251,10 @@ pub mod api { "DownwardMessageQueueHeads", Vec::new(), [ - 137u8, 70u8, 108u8, 184u8, 177u8, 204u8, 17u8, 187u8, 250u8, - 134u8, 85u8, 18u8, 239u8, 185u8, 167u8, 224u8, 70u8, 18u8, - 38u8, 245u8, 176u8, 122u8, 254u8, 251u8, 204u8, 126u8, 34u8, - 207u8, 163u8, 104u8, 103u8, 38u8, + 137u8, 70u8, 108u8, 184u8, 177u8, 204u8, 17u8, 187u8, 250u8, 134u8, + 85u8, 18u8, 239u8, 185u8, 167u8, 224u8, 70u8, 18u8, 38u8, 245u8, 176u8, + 122u8, 254u8, 251u8, 204u8, 126u8, 34u8, 207u8, 163u8, 104u8, 103u8, + 38u8, ], ) } @@ -26950,10 +26309,10 @@ pub mod api { weight_limit, }, [ - 121u8, 236u8, 235u8, 23u8, 210u8, 238u8, 238u8, 122u8, 15u8, - 86u8, 34u8, 119u8, 105u8, 100u8, 214u8, 236u8, 117u8, 39u8, - 254u8, 235u8, 189u8, 15u8, 72u8, 74u8, 225u8, 134u8, 148u8, - 126u8, 31u8, 203u8, 144u8, 106u8, + 121u8, 236u8, 235u8, 23u8, 210u8, 238u8, 238u8, 122u8, 15u8, 86u8, + 34u8, 119u8, 105u8, 100u8, 214u8, 236u8, 117u8, 39u8, 254u8, 235u8, + 189u8, 15u8, 72u8, 74u8, 225u8, 134u8, 148u8, 126u8, 31u8, 203u8, + 144u8, 106u8, ], ) } @@ -27113,9 +26472,7 @@ pub mod api { #[doc = " The messages are processed in FIFO order."] pub fn relay_dispatch_queues( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, @@ -27126,14 +26483,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Ump", "RelayDispatchQueues", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 237u8, 72u8, 167u8, 6u8, 67u8, 106u8, 186u8, 191u8, 160u8, - 9u8, 62u8, 102u8, 229u8, 164u8, 100u8, 24u8, 202u8, 109u8, - 90u8, 24u8, 192u8, 233u8, 26u8, 239u8, 23u8, 127u8, 77u8, - 191u8, 144u8, 14u8, 3u8, 141u8, + 237u8, 72u8, 167u8, 6u8, 67u8, 106u8, 186u8, 191u8, 160u8, 9u8, 62u8, + 102u8, 229u8, 164u8, 100u8, 24u8, 202u8, 109u8, 90u8, 24u8, 192u8, + 233u8, 26u8, 239u8, 23u8, 127u8, 77u8, 191u8, 144u8, 14u8, 3u8, 141u8, ], ) } @@ -27157,10 +26513,9 @@ pub mod api { "RelayDispatchQueues", Vec::new(), [ - 237u8, 72u8, 167u8, 6u8, 67u8, 106u8, 186u8, 191u8, 160u8, - 9u8, 62u8, 102u8, 229u8, 164u8, 100u8, 24u8, 202u8, 109u8, - 90u8, 24u8, 192u8, 233u8, 26u8, 239u8, 23u8, 127u8, 77u8, - 191u8, 144u8, 14u8, 3u8, 141u8, + 237u8, 72u8, 167u8, 6u8, 67u8, 106u8, 186u8, 191u8, 160u8, 9u8, 62u8, + 102u8, 229u8, 164u8, 100u8, 24u8, 202u8, 109u8, 90u8, 24u8, 192u8, + 233u8, 26u8, 239u8, 23u8, 127u8, 77u8, 191u8, 144u8, 14u8, 3u8, 141u8, ], ) } @@ -27177,9 +26532,7 @@ pub mod api { #[doc = " - The set of keys should exactly match the set of keys of `RelayDispatchQueues`."] pub fn relay_dispatch_queue_size( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, (::core::primitive::u32, ::core::primitive::u32), @@ -27190,14 +26543,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Ump", "RelayDispatchQueueSize", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 243u8, 120u8, 70u8, 2u8, 208u8, 105u8, 180u8, 25u8, 86u8, - 219u8, 151u8, 227u8, 233u8, 53u8, 151u8, 29u8, 231u8, 40u8, - 84u8, 163u8, 71u8, 254u8, 19u8, 47u8, 174u8, 63u8, 200u8, - 173u8, 86u8, 199u8, 207u8, 138u8, + 243u8, 120u8, 70u8, 2u8, 208u8, 105u8, 180u8, 25u8, 86u8, 219u8, 151u8, + 227u8, 233u8, 53u8, 151u8, 29u8, 231u8, 40u8, 84u8, 163u8, 71u8, 254u8, + 19u8, 47u8, 174u8, 63u8, 200u8, 173u8, 86u8, 199u8, 207u8, 138u8, ], ) } @@ -27226,10 +26578,9 @@ pub mod api { "RelayDispatchQueueSize", Vec::new(), [ - 243u8, 120u8, 70u8, 2u8, 208u8, 105u8, 180u8, 25u8, 86u8, - 219u8, 151u8, 227u8, 233u8, 53u8, 151u8, 29u8, 231u8, 40u8, - 84u8, 163u8, 71u8, 254u8, 19u8, 47u8, 174u8, 63u8, 200u8, - 173u8, 86u8, 199u8, 207u8, 138u8, + 243u8, 120u8, 70u8, 2u8, 208u8, 105u8, 180u8, 25u8, 86u8, 219u8, 151u8, + 227u8, 233u8, 53u8, 151u8, 29u8, 231u8, 40u8, 84u8, 163u8, 71u8, 254u8, + 19u8, 47u8, 174u8, 63u8, 200u8, 173u8, 86u8, 199u8, 207u8, 138u8, ], ) } @@ -27252,10 +26603,10 @@ pub mod api { "NeedsDispatch", vec![], [ - 176u8, 94u8, 152u8, 112u8, 46u8, 124u8, 89u8, 29u8, 92u8, - 104u8, 192u8, 58u8, 59u8, 186u8, 81u8, 150u8, 157u8, 61u8, - 235u8, 182u8, 222u8, 127u8, 109u8, 11u8, 104u8, 175u8, 141u8, - 219u8, 15u8, 152u8, 255u8, 40u8, + 176u8, 94u8, 152u8, 112u8, 46u8, 124u8, 89u8, 29u8, 92u8, 104u8, 192u8, + 58u8, 59u8, 186u8, 81u8, 150u8, 157u8, 61u8, 235u8, 182u8, 222u8, + 127u8, 109u8, 11u8, 104u8, 175u8, 141u8, 219u8, 15u8, 152u8, 255u8, + 40u8, ], ) } @@ -27278,10 +26629,9 @@ pub mod api { "NextDispatchRoundStartWith", vec![], [ - 157u8, 221u8, 6u8, 175u8, 61u8, 99u8, 250u8, 30u8, 177u8, - 53u8, 37u8, 191u8, 138u8, 65u8, 251u8, 216u8, 37u8, 84u8, - 246u8, 76u8, 8u8, 29u8, 18u8, 253u8, 143u8, 75u8, 129u8, - 141u8, 48u8, 178u8, 135u8, 197u8, + 157u8, 221u8, 6u8, 175u8, 61u8, 99u8, 250u8, 30u8, 177u8, 53u8, 37u8, + 191u8, 138u8, 65u8, 251u8, 216u8, 37u8, 84u8, 246u8, 76u8, 8u8, 29u8, + 18u8, 253u8, 143u8, 75u8, 129u8, 141u8, 48u8, 178u8, 135u8, 197u8, ], ) } @@ -27304,14 +26654,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Ump", "Overweight", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 49u8, 4u8, 221u8, 218u8, 249u8, 183u8, 49u8, 198u8, 48u8, - 42u8, 110u8, 67u8, 47u8, 50u8, 181u8, 141u8, 184u8, 47u8, - 114u8, 3u8, 232u8, 132u8, 32u8, 201u8, 13u8, 213u8, 175u8, - 236u8, 111u8, 87u8, 146u8, 212u8, + 49u8, 4u8, 221u8, 218u8, 249u8, 183u8, 49u8, 198u8, 48u8, 42u8, 110u8, + 67u8, 47u8, 50u8, 181u8, 141u8, 184u8, 47u8, 114u8, 3u8, 232u8, 132u8, + 32u8, 201u8, 13u8, 213u8, 175u8, 236u8, 111u8, 87u8, 146u8, 212u8, ], ) } @@ -27335,10 +26684,9 @@ pub mod api { "Overweight", Vec::new(), [ - 49u8, 4u8, 221u8, 218u8, 249u8, 183u8, 49u8, 198u8, 48u8, - 42u8, 110u8, 67u8, 47u8, 50u8, 181u8, 141u8, 184u8, 47u8, - 114u8, 3u8, 232u8, 132u8, 32u8, 201u8, 13u8, 213u8, 175u8, - 236u8, 111u8, 87u8, 146u8, 212u8, + 49u8, 4u8, 221u8, 218u8, 249u8, 183u8, 49u8, 198u8, 48u8, 42u8, 110u8, + 67u8, 47u8, 50u8, 181u8, 141u8, 184u8, 47u8, 114u8, 3u8, 232u8, 132u8, + 32u8, 201u8, 13u8, 213u8, 175u8, 236u8, 111u8, 87u8, 146u8, 212u8, ], ) } @@ -27358,10 +26706,10 @@ pub mod api { "OverweightCount", vec![], [ - 102u8, 180u8, 196u8, 148u8, 115u8, 62u8, 46u8, 238u8, 97u8, - 116u8, 117u8, 42u8, 14u8, 5u8, 72u8, 237u8, 230u8, 46u8, - 150u8, 126u8, 89u8, 64u8, 233u8, 166u8, 180u8, 137u8, 52u8, - 233u8, 252u8, 255u8, 36u8, 20u8, + 102u8, 180u8, 196u8, 148u8, 115u8, 62u8, 46u8, 238u8, 97u8, 116u8, + 117u8, 42u8, 14u8, 5u8, 72u8, 237u8, 230u8, 46u8, 150u8, 126u8, 89u8, + 64u8, 233u8, 166u8, 180u8, 137u8, 52u8, 233u8, 252u8, 255u8, 36u8, + 20u8, ], ) } @@ -27412,8 +26760,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct HrmpCloseChannel { - pub channel_id: - runtime_types::polkadot_parachain::primitives::HrmpChannelId, + pub channel_id: runtime_types::polkadot_parachain::primitives::HrmpChannelId, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -27465,8 +26812,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct HrmpCancelOpenRequest { - pub channel_id: - runtime_types::polkadot_parachain::primitives::HrmpChannelId, + pub channel_id: runtime_types::polkadot_parachain::primitives::HrmpChannelId, pub open_requests: ::core::primitive::u32, } #[derive( @@ -27511,10 +26857,10 @@ pub mod api { proposed_max_message_size, }, [ - 170u8, 72u8, 58u8, 42u8, 38u8, 11u8, 110u8, 229u8, 239u8, - 136u8, 99u8, 230u8, 223u8, 225u8, 126u8, 61u8, 234u8, 185u8, - 101u8, 156u8, 40u8, 102u8, 253u8, 123u8, 77u8, 204u8, 217u8, - 86u8, 162u8, 66u8, 25u8, 214u8, + 170u8, 72u8, 58u8, 42u8, 38u8, 11u8, 110u8, 229u8, 239u8, 136u8, 99u8, + 230u8, 223u8, 225u8, 126u8, 61u8, 234u8, 185u8, 101u8, 156u8, 40u8, + 102u8, 253u8, 123u8, 77u8, 204u8, 217u8, 86u8, 162u8, 66u8, 25u8, + 214u8, ], ) } @@ -27530,10 +26876,9 @@ pub mod api { "hrmp_accept_open_channel", HrmpAcceptOpenChannel { sender }, [ - 75u8, 111u8, 52u8, 164u8, 204u8, 100u8, 204u8, 111u8, 127u8, - 84u8, 60u8, 136u8, 95u8, 255u8, 48u8, 157u8, 189u8, 76u8, - 33u8, 177u8, 223u8, 27u8, 74u8, 221u8, 139u8, 1u8, 12u8, - 128u8, 242u8, 7u8, 3u8, 53u8, + 75u8, 111u8, 52u8, 164u8, 204u8, 100u8, 204u8, 111u8, 127u8, 84u8, + 60u8, 136u8, 95u8, 255u8, 48u8, 157u8, 189u8, 76u8, 33u8, 177u8, 223u8, + 27u8, 74u8, 221u8, 139u8, 1u8, 12u8, 128u8, 242u8, 7u8, 3u8, 53u8, ], ) } @@ -27543,17 +26888,16 @@ pub mod api { #[doc = "The closure can only happen on a session change."] pub fn hrmp_close_channel( &self, - channel_id : runtime_types :: polkadot_parachain :: primitives :: HrmpChannelId, + channel_id: runtime_types::polkadot_parachain::primitives::HrmpChannelId, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Hrmp", "hrmp_close_channel", HrmpCloseChannel { channel_id }, [ - 11u8, 202u8, 76u8, 107u8, 213u8, 21u8, 191u8, 190u8, 40u8, - 229u8, 60u8, 115u8, 232u8, 136u8, 41u8, 114u8, 21u8, 19u8, - 238u8, 236u8, 202u8, 56u8, 212u8, 232u8, 34u8, 84u8, 27u8, - 70u8, 176u8, 252u8, 218u8, 52u8, + 11u8, 202u8, 76u8, 107u8, 213u8, 21u8, 191u8, 190u8, 40u8, 229u8, 60u8, + 115u8, 232u8, 136u8, 41u8, 114u8, 21u8, 19u8, 238u8, 236u8, 202u8, + 56u8, 212u8, 232u8, 34u8, 84u8, 27u8, 70u8, 176u8, 252u8, 218u8, 52u8, ], ) } @@ -27579,10 +26923,10 @@ pub mod api { outbound, }, [ - 171u8, 109u8, 147u8, 49u8, 163u8, 107u8, 36u8, 169u8, 117u8, - 193u8, 231u8, 114u8, 207u8, 38u8, 240u8, 195u8, 155u8, 222u8, - 244u8, 142u8, 93u8, 79u8, 111u8, 43u8, 5u8, 33u8, 190u8, - 30u8, 200u8, 225u8, 173u8, 64u8, + 171u8, 109u8, 147u8, 49u8, 163u8, 107u8, 36u8, 169u8, 117u8, 193u8, + 231u8, 114u8, 207u8, 38u8, 240u8, 195u8, 155u8, 222u8, 244u8, 142u8, + 93u8, 79u8, 111u8, 43u8, 5u8, 33u8, 190u8, 30u8, 200u8, 225u8, 173u8, + 64u8, ], ) } @@ -27601,10 +26945,10 @@ pub mod api { "force_process_hrmp_open", ForceProcessHrmpOpen { channels }, [ - 231u8, 80u8, 233u8, 15u8, 131u8, 167u8, 223u8, 28u8, 182u8, - 185u8, 213u8, 24u8, 154u8, 160u8, 68u8, 94u8, 160u8, 59u8, - 78u8, 85u8, 85u8, 149u8, 130u8, 131u8, 9u8, 162u8, 169u8, - 119u8, 165u8, 44u8, 150u8, 50u8, + 231u8, 80u8, 233u8, 15u8, 131u8, 167u8, 223u8, 28u8, 182u8, 185u8, + 213u8, 24u8, 154u8, 160u8, 68u8, 94u8, 160u8, 59u8, 78u8, 85u8, 85u8, + 149u8, 130u8, 131u8, 9u8, 162u8, 169u8, 119u8, 165u8, 44u8, 150u8, + 50u8, ], ) } @@ -27623,10 +26967,9 @@ pub mod api { "force_process_hrmp_close", ForceProcessHrmpClose { channels }, [ - 248u8, 138u8, 30u8, 151u8, 53u8, 16u8, 44u8, 116u8, 51u8, - 194u8, 173u8, 252u8, 143u8, 53u8, 184u8, 129u8, 80u8, 80u8, - 25u8, 118u8, 47u8, 183u8, 249u8, 130u8, 8u8, 221u8, 56u8, - 106u8, 182u8, 114u8, 186u8, 161u8, + 248u8, 138u8, 30u8, 151u8, 53u8, 16u8, 44u8, 116u8, 51u8, 194u8, 173u8, + 252u8, 143u8, 53u8, 184u8, 129u8, 80u8, 80u8, 25u8, 118u8, 47u8, 183u8, + 249u8, 130u8, 8u8, 221u8, 56u8, 106u8, 182u8, 114u8, 186u8, 161u8, ], ) } @@ -27640,7 +26983,7 @@ pub mod api { #[doc = "witness data."] pub fn hrmp_cancel_open_request( &self, - channel_id : runtime_types :: polkadot_parachain :: primitives :: HrmpChannelId, + channel_id: runtime_types::polkadot_parachain::primitives::HrmpChannelId, open_requests: ::core::primitive::u32, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( @@ -27651,10 +26994,10 @@ pub mod api { open_requests, }, [ - 136u8, 217u8, 56u8, 138u8, 227u8, 37u8, 120u8, 83u8, 116u8, - 228u8, 42u8, 111u8, 206u8, 210u8, 177u8, 235u8, 225u8, 98u8, - 172u8, 184u8, 87u8, 65u8, 77u8, 129u8, 7u8, 0u8, 232u8, - 139u8, 134u8, 1u8, 59u8, 19u8, + 136u8, 217u8, 56u8, 138u8, 227u8, 37u8, 120u8, 83u8, 116u8, 228u8, + 42u8, 111u8, 206u8, 210u8, 177u8, 235u8, 225u8, 98u8, 172u8, 184u8, + 87u8, 65u8, 77u8, 129u8, 7u8, 0u8, 232u8, 139u8, 134u8, 1u8, 59u8, + 19u8, ], ) } @@ -27681,10 +27024,10 @@ pub mod api { max_message_size, }, [ - 145u8, 23u8, 215u8, 75u8, 94u8, 119u8, 205u8, 222u8, 186u8, - 149u8, 11u8, 172u8, 211u8, 158u8, 247u8, 21u8, 125u8, 144u8, - 91u8, 157u8, 94u8, 143u8, 188u8, 20u8, 98u8, 136u8, 165u8, - 70u8, 155u8, 14u8, 92u8, 58u8, + 145u8, 23u8, 215u8, 75u8, 94u8, 119u8, 205u8, 222u8, 186u8, 149u8, + 11u8, 172u8, 211u8, 158u8, 247u8, 21u8, 125u8, 144u8, 91u8, 157u8, + 94u8, 143u8, 188u8, 20u8, 98u8, 136u8, 165u8, 70u8, 155u8, 14u8, 92u8, + 58u8, ], ) } @@ -27801,18 +27144,29 @@ pub mod api { #[doc = " The set is accompanied by a list for iteration."] #[doc = ""] #[doc = " Invariant:"] - #[doc = " - There are no channels that exists in list but not in the set and vice versa."] pub fn hrmp_open_channel_requests (& self , _0 : impl :: std :: borrow :: Borrow < runtime_types :: polkadot_parachain :: primitives :: HrmpChannelId > ,) -> :: subxt :: storage :: address :: Address :: < :: subxt :: storage :: address :: StaticStorageMapKey , runtime_types :: polkadot_runtime_parachains :: hrmp :: HrmpOpenChannelRequest , :: subxt :: storage :: address :: Yes , () , :: subxt :: storage :: address :: Yes >{ + #[doc = " - There are no channels that exists in list but not in the set and vice versa."] + pub fn hrmp_open_channel_requests( + &self, + _0: impl ::std::borrow::Borrow< + runtime_types::polkadot_parachain::primitives::HrmpChannelId, + >, + ) -> ::subxt::storage::address::Address< + ::subxt::storage::address::StaticStorageMapKey, + runtime_types::polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest, + ::subxt::storage::address::Yes, + (), + ::subxt::storage::address::Yes, + > { ::subxt::storage::address::Address::new_static( "Hrmp", "HrmpOpenChannelRequests", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 226u8, 115u8, 207u8, 13u8, 5u8, 81u8, 64u8, 161u8, 246u8, - 4u8, 17u8, 207u8, 210u8, 109u8, 91u8, 54u8, 28u8, 53u8, 35u8, - 74u8, 62u8, 91u8, 196u8, 236u8, 18u8, 70u8, 13u8, 86u8, - 235u8, 74u8, 181u8, 169u8, + 226u8, 115u8, 207u8, 13u8, 5u8, 81u8, 64u8, 161u8, 246u8, 4u8, 17u8, + 207u8, 210u8, 109u8, 91u8, 54u8, 28u8, 53u8, 35u8, 74u8, 62u8, 91u8, + 196u8, 236u8, 18u8, 70u8, 13u8, 86u8, 235u8, 74u8, 181u8, 169u8, ], ) } @@ -27821,16 +27175,24 @@ pub mod api { #[doc = " The set is accompanied by a list for iteration."] #[doc = ""] #[doc = " Invariant:"] - #[doc = " - There are no channels that exists in list but not in the set and vice versa."] pub fn hrmp_open_channel_requests_root (& self ,) -> :: subxt :: storage :: address :: Address :: < :: subxt :: storage :: address :: StaticStorageMapKey , runtime_types :: polkadot_runtime_parachains :: hrmp :: HrmpOpenChannelRequest , () , () , :: subxt :: storage :: address :: Yes >{ + #[doc = " - There are no channels that exists in list but not in the set and vice versa."] + pub fn hrmp_open_channel_requests_root( + &self, + ) -> ::subxt::storage::address::Address< + ::subxt::storage::address::StaticStorageMapKey, + runtime_types::polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest, + (), + (), + ::subxt::storage::address::Yes, + > { ::subxt::storage::address::Address::new_static( "Hrmp", "HrmpOpenChannelRequests", Vec::new(), [ - 226u8, 115u8, 207u8, 13u8, 5u8, 81u8, 64u8, 161u8, 246u8, - 4u8, 17u8, 207u8, 210u8, 109u8, 91u8, 54u8, 28u8, 53u8, 35u8, - 74u8, 62u8, 91u8, 196u8, 236u8, 18u8, 70u8, 13u8, 86u8, - 235u8, 74u8, 181u8, 169u8, + 226u8, 115u8, 207u8, 13u8, 5u8, 81u8, 64u8, 161u8, 246u8, 4u8, 17u8, + 207u8, 210u8, 109u8, 91u8, 54u8, 28u8, 53u8, 35u8, 74u8, 62u8, 91u8, + 196u8, 236u8, 18u8, 70u8, 13u8, 86u8, 235u8, 74u8, 181u8, 169u8, ], ) } @@ -27838,9 +27200,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - ::std::vec::Vec< - runtime_types::polkadot_parachain::primitives::HrmpChannelId, - >, + ::std::vec::Vec, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, (), @@ -27850,10 +27210,10 @@ pub mod api { "HrmpOpenChannelRequestsList", vec![], [ - 187u8, 157u8, 7u8, 183u8, 88u8, 215u8, 128u8, 174u8, 244u8, - 130u8, 137u8, 13u8, 110u8, 126u8, 181u8, 165u8, 142u8, 69u8, - 75u8, 37u8, 37u8, 149u8, 46u8, 100u8, 140u8, 69u8, 234u8, - 171u8, 103u8, 136u8, 223u8, 193u8, + 187u8, 157u8, 7u8, 183u8, 88u8, 215u8, 128u8, 174u8, 244u8, 130u8, + 137u8, 13u8, 110u8, 126u8, 181u8, 165u8, 142u8, 69u8, 75u8, 37u8, 37u8, + 149u8, 46u8, 100u8, 140u8, 69u8, 234u8, 171u8, 103u8, 136u8, 223u8, + 193u8, ], ) } @@ -27862,9 +27222,7 @@ pub mod api { #[doc = " `(X, _)` as the number of `HrmpOpenChannelRequestCount` for `X`."] pub fn hrmp_open_channel_request_count( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, ::core::primitive::u32, @@ -27875,14 +27233,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Hrmp", "HrmpOpenChannelRequestCount", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 156u8, 87u8, 232u8, 34u8, 30u8, 237u8, 159u8, 78u8, 212u8, - 138u8, 140u8, 206u8, 191u8, 117u8, 209u8, 218u8, 251u8, - 146u8, 217u8, 56u8, 93u8, 15u8, 131u8, 64u8, 126u8, 253u8, - 126u8, 1u8, 12u8, 242u8, 176u8, 217u8, + 156u8, 87u8, 232u8, 34u8, 30u8, 237u8, 159u8, 78u8, 212u8, 138u8, + 140u8, 206u8, 191u8, 117u8, 209u8, 218u8, 251u8, 146u8, 217u8, 56u8, + 93u8, 15u8, 131u8, 64u8, 126u8, 253u8, 126u8, 1u8, 12u8, 242u8, 176u8, + 217u8, ], ) } @@ -27903,10 +27261,10 @@ pub mod api { "HrmpOpenChannelRequestCount", Vec::new(), [ - 156u8, 87u8, 232u8, 34u8, 30u8, 237u8, 159u8, 78u8, 212u8, - 138u8, 140u8, 206u8, 191u8, 117u8, 209u8, 218u8, 251u8, - 146u8, 217u8, 56u8, 93u8, 15u8, 131u8, 64u8, 126u8, 253u8, - 126u8, 1u8, 12u8, 242u8, 176u8, 217u8, + 156u8, 87u8, 232u8, 34u8, 30u8, 237u8, 159u8, 78u8, 212u8, 138u8, + 140u8, 206u8, 191u8, 117u8, 209u8, 218u8, 251u8, 146u8, 217u8, 56u8, + 93u8, 15u8, 131u8, 64u8, 126u8, 253u8, 126u8, 1u8, 12u8, 242u8, 176u8, + 217u8, ], ) } @@ -27915,9 +27273,7 @@ pub mod api { #[doc = " `confirmed` set to true, as the number of `HrmpAcceptedChannelRequestCount` for `X`."] pub fn hrmp_accepted_channel_request_count( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, ::core::primitive::u32, @@ -27928,14 +27284,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Hrmp", "HrmpAcceptedChannelRequestCount", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 93u8, 183u8, 17u8, 253u8, 119u8, 213u8, 106u8, 205u8, 17u8, - 10u8, 230u8, 242u8, 5u8, 223u8, 49u8, 235u8, 41u8, 221u8, - 80u8, 51u8, 153u8, 62u8, 191u8, 3u8, 120u8, 224u8, 46u8, - 164u8, 161u8, 6u8, 15u8, 15u8, + 93u8, 183u8, 17u8, 253u8, 119u8, 213u8, 106u8, 205u8, 17u8, 10u8, + 230u8, 242u8, 5u8, 223u8, 49u8, 235u8, 41u8, 221u8, 80u8, 51u8, 153u8, + 62u8, 191u8, 3u8, 120u8, 224u8, 46u8, 164u8, 161u8, 6u8, 15u8, 15u8, ], ) } @@ -27956,10 +27311,9 @@ pub mod api { "HrmpAcceptedChannelRequestCount", Vec::new(), [ - 93u8, 183u8, 17u8, 253u8, 119u8, 213u8, 106u8, 205u8, 17u8, - 10u8, 230u8, 242u8, 5u8, 223u8, 49u8, 235u8, 41u8, 221u8, - 80u8, 51u8, 153u8, 62u8, 191u8, 3u8, 120u8, 224u8, 46u8, - 164u8, 161u8, 6u8, 15u8, 15u8, + 93u8, 183u8, 17u8, 253u8, 119u8, 213u8, 106u8, 205u8, 17u8, 10u8, + 230u8, 242u8, 5u8, 223u8, 49u8, 235u8, 41u8, 221u8, 80u8, 51u8, 153u8, + 62u8, 191u8, 3u8, 120u8, 224u8, 46u8, 164u8, 161u8, 6u8, 15u8, 15u8, ], ) } @@ -27985,14 +27339,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Hrmp", "HrmpCloseChannelRequests", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 125u8, 131u8, 1u8, 231u8, 19u8, 207u8, 229u8, 72u8, 150u8, - 100u8, 165u8, 215u8, 241u8, 165u8, 91u8, 35u8, 230u8, 148u8, - 127u8, 249u8, 128u8, 221u8, 167u8, 172u8, 67u8, 30u8, 177u8, - 176u8, 134u8, 223u8, 39u8, 87u8, + 125u8, 131u8, 1u8, 231u8, 19u8, 207u8, 229u8, 72u8, 150u8, 100u8, + 165u8, 215u8, 241u8, 165u8, 91u8, 35u8, 230u8, 148u8, 127u8, 249u8, + 128u8, 221u8, 167u8, 172u8, 67u8, 30u8, 177u8, 176u8, 134u8, 223u8, + 39u8, 87u8, ], ) } @@ -28017,10 +27371,10 @@ pub mod api { "HrmpCloseChannelRequests", Vec::new(), [ - 125u8, 131u8, 1u8, 231u8, 19u8, 207u8, 229u8, 72u8, 150u8, - 100u8, 165u8, 215u8, 241u8, 165u8, 91u8, 35u8, 230u8, 148u8, - 127u8, 249u8, 128u8, 221u8, 167u8, 172u8, 67u8, 30u8, 177u8, - 176u8, 134u8, 223u8, 39u8, 87u8, + 125u8, 131u8, 1u8, 231u8, 19u8, 207u8, 229u8, 72u8, 150u8, 100u8, + 165u8, 215u8, 241u8, 165u8, 91u8, 35u8, 230u8, 148u8, 127u8, 249u8, + 128u8, 221u8, 167u8, 172u8, 67u8, 30u8, 177u8, 176u8, 134u8, 223u8, + 39u8, 87u8, ], ) } @@ -28028,9 +27382,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - ::std::vec::Vec< - runtime_types::polkadot_parachain::primitives::HrmpChannelId, - >, + ::std::vec::Vec, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, (), @@ -28040,10 +27392,10 @@ pub mod api { "HrmpCloseChannelRequestsList", vec![], [ - 192u8, 165u8, 71u8, 70u8, 211u8, 233u8, 155u8, 146u8, 160u8, - 58u8, 103u8, 64u8, 123u8, 232u8, 157u8, 71u8, 199u8, 223u8, - 158u8, 5u8, 164u8, 93u8, 231u8, 153u8, 1u8, 63u8, 155u8, 4u8, - 138u8, 89u8, 178u8, 116u8, + 192u8, 165u8, 71u8, 70u8, 211u8, 233u8, 155u8, 146u8, 160u8, 58u8, + 103u8, 64u8, 123u8, 232u8, 157u8, 71u8, 199u8, 223u8, 158u8, 5u8, + 164u8, 93u8, 231u8, 153u8, 1u8, 63u8, 155u8, 4u8, 138u8, 89u8, 178u8, + 116u8, ], ) } @@ -28052,9 +27404,7 @@ pub mod api { #[doc = " - each para `P` used here as a key should satisfy `Paras::is_valid_para(P)` within a session."] pub fn hrmp_watermarks( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, ::core::primitive::u32, @@ -28065,14 +27415,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Hrmp", "HrmpWatermarks", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 231u8, 195u8, 117u8, 35u8, 235u8, 18u8, 80u8, 28u8, 212u8, - 37u8, 253u8, 204u8, 71u8, 217u8, 12u8, 35u8, 219u8, 250u8, - 45u8, 83u8, 102u8, 236u8, 186u8, 149u8, 54u8, 31u8, 83u8, - 19u8, 129u8, 51u8, 103u8, 155u8, + 231u8, 195u8, 117u8, 35u8, 235u8, 18u8, 80u8, 28u8, 212u8, 37u8, 253u8, + 204u8, 71u8, 217u8, 12u8, 35u8, 219u8, 250u8, 45u8, 83u8, 102u8, 236u8, + 186u8, 149u8, 54u8, 31u8, 83u8, 19u8, 129u8, 51u8, 103u8, 155u8, ], ) } @@ -28093,10 +27442,9 @@ pub mod api { "HrmpWatermarks", Vec::new(), [ - 231u8, 195u8, 117u8, 35u8, 235u8, 18u8, 80u8, 28u8, 212u8, - 37u8, 253u8, 204u8, 71u8, 217u8, 12u8, 35u8, 219u8, 250u8, - 45u8, 83u8, 102u8, 236u8, 186u8, 149u8, 54u8, 31u8, 83u8, - 19u8, 129u8, 51u8, 103u8, 155u8, + 231u8, 195u8, 117u8, 35u8, 235u8, 18u8, 80u8, 28u8, 212u8, 37u8, 253u8, + 204u8, 71u8, 217u8, 12u8, 35u8, 219u8, 250u8, 45u8, 83u8, 102u8, 236u8, + 186u8, 149u8, 54u8, 31u8, 83u8, 19u8, 129u8, 51u8, 103u8, 155u8, ], ) } @@ -28118,14 +27466,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Hrmp", "HrmpChannels", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 224u8, 252u8, 187u8, 122u8, 179u8, 193u8, 227u8, 250u8, - 255u8, 216u8, 107u8, 26u8, 224u8, 16u8, 178u8, 111u8, 77u8, - 237u8, 177u8, 148u8, 22u8, 17u8, 213u8, 99u8, 194u8, 140u8, - 217u8, 211u8, 151u8, 51u8, 66u8, 169u8, + 224u8, 252u8, 187u8, 122u8, 179u8, 193u8, 227u8, 250u8, 255u8, 216u8, + 107u8, 26u8, 224u8, 16u8, 178u8, 111u8, 77u8, 237u8, 177u8, 148u8, + 22u8, 17u8, 213u8, 99u8, 194u8, 140u8, 217u8, 211u8, 151u8, 51u8, 66u8, + 169u8, ], ) } @@ -28146,10 +27494,10 @@ pub mod api { "HrmpChannels", Vec::new(), [ - 224u8, 252u8, 187u8, 122u8, 179u8, 193u8, 227u8, 250u8, - 255u8, 216u8, 107u8, 26u8, 224u8, 16u8, 178u8, 111u8, 77u8, - 237u8, 177u8, 148u8, 22u8, 17u8, 213u8, 99u8, 194u8, 140u8, - 217u8, 211u8, 151u8, 51u8, 66u8, 169u8, + 224u8, 252u8, 187u8, 122u8, 179u8, 193u8, 227u8, 250u8, 255u8, 216u8, + 107u8, 26u8, 224u8, 16u8, 178u8, 111u8, 77u8, 237u8, 177u8, 148u8, + 22u8, 17u8, 213u8, 99u8, 194u8, 140u8, 217u8, 211u8, 151u8, 51u8, 66u8, + 169u8, ], ) } @@ -28168,9 +27516,7 @@ pub mod api { #[doc = " - the vectors are sorted."] pub fn hrmp_ingress_channels_index( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, ::std::vec::Vec, @@ -28181,14 +27527,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Hrmp", "HrmpIngressChannelsIndex", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 58u8, 193u8, 212u8, 225u8, 48u8, 195u8, 119u8, 15u8, 61u8, - 166u8, 249u8, 1u8, 118u8, 67u8, 253u8, 40u8, 58u8, 220u8, - 124u8, 152u8, 4u8, 16u8, 155u8, 151u8, 195u8, 15u8, 205u8, - 175u8, 234u8, 0u8, 101u8, 99u8, + 58u8, 193u8, 212u8, 225u8, 48u8, 195u8, 119u8, 15u8, 61u8, 166u8, + 249u8, 1u8, 118u8, 67u8, 253u8, 40u8, 58u8, 220u8, 124u8, 152u8, 4u8, + 16u8, 155u8, 151u8, 195u8, 15u8, 205u8, 175u8, 234u8, 0u8, 101u8, 99u8, ], ) } @@ -28219,18 +27564,15 @@ pub mod api { "HrmpIngressChannelsIndex", Vec::new(), [ - 58u8, 193u8, 212u8, 225u8, 48u8, 195u8, 119u8, 15u8, 61u8, - 166u8, 249u8, 1u8, 118u8, 67u8, 253u8, 40u8, 58u8, 220u8, - 124u8, 152u8, 4u8, 16u8, 155u8, 151u8, 195u8, 15u8, 205u8, - 175u8, 234u8, 0u8, 101u8, 99u8, + 58u8, 193u8, 212u8, 225u8, 48u8, 195u8, 119u8, 15u8, 61u8, 166u8, + 249u8, 1u8, 118u8, 67u8, 253u8, 40u8, 58u8, 220u8, 124u8, 152u8, 4u8, + 16u8, 155u8, 151u8, 195u8, 15u8, 205u8, 175u8, 234u8, 0u8, 101u8, 99u8, ], ) } pub fn hrmp_egress_channels_index( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, ::std::vec::Vec, @@ -28241,14 +27583,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Hrmp", "HrmpEgressChannelsIndex", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 9u8, 242u8, 41u8, 234u8, 85u8, 193u8, 232u8, 245u8, 254u8, - 26u8, 240u8, 113u8, 184u8, 151u8, 150u8, 44u8, 43u8, 98u8, - 84u8, 209u8, 145u8, 175u8, 128u8, 68u8, 183u8, 112u8, 171u8, - 236u8, 211u8, 32u8, 177u8, 88u8, + 9u8, 242u8, 41u8, 234u8, 85u8, 193u8, 232u8, 245u8, 254u8, 26u8, 240u8, + 113u8, 184u8, 151u8, 150u8, 44u8, 43u8, 98u8, 84u8, 209u8, 145u8, + 175u8, 128u8, 68u8, 183u8, 112u8, 171u8, 236u8, 211u8, 32u8, 177u8, + 88u8, ], ) } @@ -28266,10 +27608,10 @@ pub mod api { "HrmpEgressChannelsIndex", Vec::new(), [ - 9u8, 242u8, 41u8, 234u8, 85u8, 193u8, 232u8, 245u8, 254u8, - 26u8, 240u8, 113u8, 184u8, 151u8, 150u8, 44u8, 43u8, 98u8, - 84u8, 209u8, 145u8, 175u8, 128u8, 68u8, 183u8, 112u8, 171u8, - 236u8, 211u8, 32u8, 177u8, 88u8, + 9u8, 242u8, 41u8, 234u8, 85u8, 193u8, 232u8, 245u8, 254u8, 26u8, 240u8, + 113u8, 184u8, 151u8, 150u8, 44u8, 43u8, 98u8, 84u8, 209u8, 145u8, + 175u8, 128u8, 68u8, 183u8, 112u8, 171u8, 236u8, 211u8, 32u8, 177u8, + 88u8, ], ) } @@ -28294,14 +27636,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Hrmp", "HrmpChannelContents", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 114u8, 86u8, 172u8, 88u8, 118u8, 243u8, 133u8, 147u8, 108u8, - 60u8, 128u8, 235u8, 45u8, 80u8, 225u8, 130u8, 89u8, 50u8, - 40u8, 118u8, 63u8, 3u8, 83u8, 222u8, 75u8, 167u8, 148u8, - 150u8, 193u8, 90u8, 196u8, 225u8, + 114u8, 86u8, 172u8, 88u8, 118u8, 243u8, 133u8, 147u8, 108u8, 60u8, + 128u8, 235u8, 45u8, 80u8, 225u8, 130u8, 89u8, 50u8, 40u8, 118u8, 63u8, + 3u8, 83u8, 222u8, 75u8, 167u8, 148u8, 150u8, 193u8, 90u8, 196u8, 225u8, ], ) } @@ -28325,10 +27666,9 @@ pub mod api { "HrmpChannelContents", Vec::new(), [ - 114u8, 86u8, 172u8, 88u8, 118u8, 243u8, 133u8, 147u8, 108u8, - 60u8, 128u8, 235u8, 45u8, 80u8, 225u8, 130u8, 89u8, 50u8, - 40u8, 118u8, 63u8, 3u8, 83u8, 222u8, 75u8, 167u8, 148u8, - 150u8, 193u8, 90u8, 196u8, 225u8, + 114u8, 86u8, 172u8, 88u8, 118u8, 243u8, 133u8, 147u8, 108u8, 60u8, + 128u8, 235u8, 45u8, 80u8, 225u8, 130u8, 89u8, 50u8, 40u8, 118u8, 63u8, + 3u8, 83u8, 222u8, 75u8, 167u8, 148u8, 150u8, 193u8, 90u8, 196u8, 225u8, ], ) } @@ -28340,16 +27680,12 @@ pub mod api { #[doc = " same block number."] pub fn hrmp_channel_digests( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, ::std::vec::Vec<( ::core::primitive::u32, - ::std::vec::Vec< - runtime_types::polkadot_parachain::primitives::Id, - >, + ::std::vec::Vec, )>, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, @@ -28358,14 +27694,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Hrmp", "HrmpChannelDigests", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 205u8, 18u8, 60u8, 54u8, 123u8, 40u8, 160u8, 149u8, 174u8, - 45u8, 135u8, 213u8, 83u8, 44u8, 97u8, 243u8, 47u8, 200u8, - 156u8, 131u8, 15u8, 63u8, 170u8, 206u8, 101u8, 17u8, 244u8, - 132u8, 73u8, 133u8, 79u8, 104u8, + 205u8, 18u8, 60u8, 54u8, 123u8, 40u8, 160u8, 149u8, 174u8, 45u8, 135u8, + 213u8, 83u8, 44u8, 97u8, 243u8, 47u8, 200u8, 156u8, 131u8, 15u8, 63u8, + 170u8, 206u8, 101u8, 17u8, 244u8, 132u8, 73u8, 133u8, 79u8, 104u8, ], ) } @@ -28381,9 +27716,7 @@ pub mod api { ::subxt::storage::address::StaticStorageMapKey, ::std::vec::Vec<( ::core::primitive::u32, - ::std::vec::Vec< - runtime_types::polkadot_parachain::primitives::Id, - >, + ::std::vec::Vec, )>, (), ::subxt::storage::address::Yes, @@ -28394,10 +27727,9 @@ pub mod api { "HrmpChannelDigests", Vec::new(), [ - 205u8, 18u8, 60u8, 54u8, 123u8, 40u8, 160u8, 149u8, 174u8, - 45u8, 135u8, 213u8, 83u8, 44u8, 97u8, 243u8, 47u8, 200u8, - 156u8, 131u8, 15u8, 63u8, 170u8, 206u8, 101u8, 17u8, 244u8, - 132u8, 73u8, 133u8, 79u8, 104u8, + 205u8, 18u8, 60u8, 54u8, 123u8, 40u8, 160u8, 149u8, 174u8, 45u8, 135u8, + 213u8, 83u8, 44u8, 97u8, 243u8, 47u8, 200u8, 156u8, 131u8, 15u8, 63u8, + 170u8, 206u8, 101u8, 17u8, 244u8, 132u8, 73u8, 133u8, 79u8, 104u8, ], ) } @@ -28418,9 +27750,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - ::std::vec::Vec< - runtime_types::polkadot_primitives::v2::assignment_app::Public, - >, + ::std::vec::Vec, ::subxt::storage::address::Yes, ::subxt::storage::address::Yes, (), @@ -28430,10 +27760,9 @@ pub mod api { "AssignmentKeysUnsafe", vec![], [ - 80u8, 24u8, 61u8, 132u8, 118u8, 225u8, 207u8, 75u8, 35u8, - 240u8, 209u8, 255u8, 19u8, 240u8, 114u8, 174u8, 86u8, 65u8, - 65u8, 52u8, 135u8, 232u8, 59u8, 208u8, 3u8, 107u8, 114u8, - 241u8, 14u8, 98u8, 40u8, 226u8, + 80u8, 24u8, 61u8, 132u8, 118u8, 225u8, 207u8, 75u8, 35u8, 240u8, 209u8, + 255u8, 19u8, 240u8, 114u8, 174u8, 86u8, 65u8, 65u8, 52u8, 135u8, 232u8, + 59u8, 208u8, 3u8, 107u8, 114u8, 241u8, 14u8, 98u8, 40u8, 226u8, ], ) } @@ -28452,10 +27781,10 @@ pub mod api { "EarliestStoredSession", vec![], [ - 25u8, 143u8, 246u8, 184u8, 35u8, 166u8, 140u8, 147u8, 171u8, - 5u8, 164u8, 159u8, 228u8, 21u8, 248u8, 236u8, 48u8, 210u8, - 133u8, 140u8, 171u8, 3u8, 85u8, 250u8, 160u8, 102u8, 95u8, - 46u8, 33u8, 81u8, 102u8, 241u8, + 25u8, 143u8, 246u8, 184u8, 35u8, 166u8, 140u8, 147u8, 171u8, 5u8, + 164u8, 159u8, 228u8, 21u8, 248u8, 236u8, 48u8, 210u8, 133u8, 140u8, + 171u8, 3u8, 85u8, 250u8, 160u8, 102u8, 95u8, 46u8, 33u8, 81u8, 102u8, + 241u8, ], ) } @@ -28475,14 +27804,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "ParaSessionInfo", "Sessions", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 186u8, 220u8, 61u8, 52u8, 195u8, 40u8, 214u8, 113u8, 92u8, - 109u8, 221u8, 201u8, 122u8, 213u8, 124u8, 35u8, 244u8, 55u8, - 244u8, 168u8, 23u8, 0u8, 240u8, 109u8, 143u8, 90u8, 40u8, - 87u8, 127u8, 64u8, 100u8, 75u8, + 186u8, 220u8, 61u8, 52u8, 195u8, 40u8, 214u8, 113u8, 92u8, 109u8, + 221u8, 201u8, 122u8, 213u8, 124u8, 35u8, 244u8, 55u8, 244u8, 168u8, + 23u8, 0u8, 240u8, 109u8, 143u8, 90u8, 40u8, 87u8, 127u8, 64u8, 100u8, + 75u8, ], ) } @@ -28503,10 +27832,10 @@ pub mod api { "Sessions", Vec::new(), [ - 186u8, 220u8, 61u8, 52u8, 195u8, 40u8, 214u8, 113u8, 92u8, - 109u8, 221u8, 201u8, 122u8, 213u8, 124u8, 35u8, 244u8, 55u8, - 244u8, 168u8, 23u8, 0u8, 240u8, 109u8, 143u8, 90u8, 40u8, - 87u8, 127u8, 64u8, 100u8, 75u8, + 186u8, 220u8, 61u8, 52u8, 195u8, 40u8, 214u8, 113u8, 92u8, 109u8, + 221u8, 201u8, 122u8, 213u8, 124u8, 35u8, 244u8, 55u8, 244u8, 168u8, + 23u8, 0u8, 240u8, 109u8, 143u8, 90u8, 40u8, 87u8, 127u8, 64u8, 100u8, + 75u8, ], ) } @@ -28524,14 +27853,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "ParaSessionInfo", "AccountKeys", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 48u8, 179u8, 139u8, 15u8, 144u8, 71u8, 92u8, 160u8, 254u8, - 237u8, 98u8, 60u8, 254u8, 208u8, 201u8, 32u8, 79u8, 55u8, - 3u8, 33u8, 188u8, 134u8, 18u8, 151u8, 132u8, 40u8, 192u8, - 215u8, 94u8, 124u8, 148u8, 142u8, + 48u8, 179u8, 139u8, 15u8, 144u8, 71u8, 92u8, 160u8, 254u8, 237u8, 98u8, + 60u8, 254u8, 208u8, 201u8, 32u8, 79u8, 55u8, 3u8, 33u8, 188u8, 134u8, + 18u8, 151u8, 132u8, 40u8, 192u8, 215u8, 94u8, 124u8, 148u8, 142u8, ], ) } @@ -28550,10 +27878,9 @@ pub mod api { "AccountKeys", Vec::new(), [ - 48u8, 179u8, 139u8, 15u8, 144u8, 71u8, 92u8, 160u8, 254u8, - 237u8, 98u8, 60u8, 254u8, 208u8, 201u8, 32u8, 79u8, 55u8, - 3u8, 33u8, 188u8, 134u8, 18u8, 151u8, 132u8, 40u8, 192u8, - 215u8, 94u8, 124u8, 148u8, 142u8, + 48u8, 179u8, 139u8, 15u8, 144u8, 71u8, 92u8, 160u8, 254u8, 237u8, 98u8, + 60u8, 254u8, 208u8, 201u8, 32u8, 79u8, 55u8, 3u8, 33u8, 188u8, 134u8, + 18u8, 151u8, 132u8, 40u8, 192u8, 215u8, 94u8, 124u8, 148u8, 142u8, ], ) } @@ -28586,18 +27913,17 @@ pub mod api { "force_unfreeze", ForceUnfreeze {}, [ - 212u8, 211u8, 58u8, 159u8, 23u8, 220u8, 64u8, 175u8, 65u8, - 50u8, 192u8, 122u8, 113u8, 189u8, 74u8, 191u8, 48u8, 93u8, - 251u8, 50u8, 237u8, 240u8, 91u8, 139u8, 193u8, 114u8, 131u8, - 125u8, 124u8, 236u8, 191u8, 190u8, + 212u8, 211u8, 58u8, 159u8, 23u8, 220u8, 64u8, 175u8, 65u8, 50u8, 192u8, + 122u8, 113u8, 189u8, 74u8, 191u8, 48u8, 93u8, 251u8, 50u8, 237u8, + 240u8, 91u8, 139u8, 193u8, 114u8, 131u8, 125u8, 124u8, 236u8, 191u8, + 190u8, ], ) } } } #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] - pub type Event = - runtime_types::polkadot_runtime_parachains::disputes::pallet::Event; + pub type Event = runtime_types::polkadot_runtime_parachains::disputes::pallet::Event; pub mod events { use super::runtime_types; #[derive( @@ -28648,9 +27974,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A dispute has timed out due to insufficient participation."] #[doc = "`\\[para id, candidate hash\\]`"] - pub struct DisputeTimedOut( - pub runtime_types::polkadot_core_primitives::CandidateHash, - ); + pub struct DisputeTimedOut(pub runtime_types::polkadot_core_primitives::CandidateHash); impl ::subxt::events::StaticEvent for DisputeTimedOut { const PALLET: &'static str = "ParasDisputes"; const EVENT: &'static str = "DisputeTimedOut"; @@ -28695,10 +28019,9 @@ pub mod api { "LastPrunedSession", vec![], [ - 125u8, 138u8, 99u8, 242u8, 9u8, 246u8, 215u8, 246u8, 141u8, - 6u8, 129u8, 87u8, 27u8, 58u8, 53u8, 121u8, 61u8, 119u8, 35u8, - 104u8, 33u8, 43u8, 179u8, 82u8, 244u8, 121u8, 174u8, 135u8, - 87u8, 119u8, 236u8, 105u8, + 125u8, 138u8, 99u8, 242u8, 9u8, 246u8, 215u8, 246u8, 141u8, 6u8, 129u8, + 87u8, 27u8, 58u8, 53u8, 121u8, 61u8, 119u8, 35u8, 104u8, 33u8, 43u8, + 179u8, 82u8, 244u8, 121u8, 174u8, 135u8, 87u8, 119u8, 236u8, 105u8, ], ) } @@ -28711,9 +28034,7 @@ pub mod api { >, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::polkadot_primitives::v2::DisputeState< - ::core::primitive::u32, - >, + runtime_types::polkadot_primitives::v2::DisputeState<::core::primitive::u32>, ::subxt::storage::address::Yes, (), ::subxt::storage::address::Yes, @@ -28722,18 +28043,14 @@ pub mod api { "ParasDisputes", "Disputes", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 192u8, 238u8, 255u8, 67u8, 169u8, 86u8, 99u8, 243u8, 228u8, - 88u8, 142u8, 138u8, 183u8, 117u8, 82u8, 22u8, 163u8, 30u8, - 175u8, 247u8, 50u8, 204u8, 12u8, 171u8, 57u8, 189u8, 151u8, - 191u8, 196u8, 89u8, 94u8, 165u8, + 192u8, 238u8, 255u8, 67u8, 169u8, 86u8, 99u8, 243u8, 228u8, 88u8, + 142u8, 138u8, 183u8, 117u8, 82u8, 22u8, 163u8, 30u8, 175u8, 247u8, + 50u8, 204u8, 12u8, 171u8, 57u8, 189u8, 151u8, 191u8, 196u8, 89u8, 94u8, + 165u8, ], ) } @@ -28742,9 +28059,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::polkadot_primitives::v2::DisputeState< - ::core::primitive::u32, - >, + runtime_types::polkadot_primitives::v2::DisputeState<::core::primitive::u32>, (), (), ::subxt::storage::address::Yes, @@ -28754,10 +28069,10 @@ pub mod api { "Disputes", Vec::new(), [ - 192u8, 238u8, 255u8, 67u8, 169u8, 86u8, 99u8, 243u8, 228u8, - 88u8, 142u8, 138u8, 183u8, 117u8, 82u8, 22u8, 163u8, 30u8, - 175u8, 247u8, 50u8, 204u8, 12u8, 171u8, 57u8, 189u8, 151u8, - 191u8, 196u8, 89u8, 94u8, 165u8, + 192u8, 238u8, 255u8, 67u8, 169u8, 86u8, 99u8, 243u8, 228u8, 88u8, + 142u8, 138u8, 183u8, 117u8, 82u8, 22u8, 163u8, 30u8, 175u8, 247u8, + 50u8, 204u8, 12u8, 171u8, 57u8, 189u8, 151u8, 191u8, 196u8, 89u8, 94u8, + 165u8, ], ) } @@ -28780,18 +28095,14 @@ pub mod api { "ParasDisputes", "Included", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 129u8, 50u8, 76u8, 60u8, 82u8, 106u8, 248u8, 164u8, 152u8, - 80u8, 58u8, 185u8, 211u8, 225u8, 122u8, 100u8, 234u8, 241u8, - 123u8, 205u8, 4u8, 8u8, 193u8, 116u8, 167u8, 158u8, 252u8, - 223u8, 204u8, 226u8, 74u8, 195u8, + 129u8, 50u8, 76u8, 60u8, 82u8, 106u8, 248u8, 164u8, 152u8, 80u8, 58u8, + 185u8, 211u8, 225u8, 122u8, 100u8, 234u8, 241u8, 123u8, 205u8, 4u8, + 8u8, 193u8, 116u8, 167u8, 158u8, 252u8, 223u8, 204u8, 226u8, 74u8, + 195u8, ], ) } @@ -28811,10 +28122,10 @@ pub mod api { "Included", Vec::new(), [ - 129u8, 50u8, 76u8, 60u8, 82u8, 106u8, 248u8, 164u8, 152u8, - 80u8, 58u8, 185u8, 211u8, 225u8, 122u8, 100u8, 234u8, 241u8, - 123u8, 205u8, 4u8, 8u8, 193u8, 116u8, 167u8, 158u8, 252u8, - 223u8, 204u8, 226u8, 74u8, 195u8, + 129u8, 50u8, 76u8, 60u8, 82u8, 106u8, 248u8, 164u8, 152u8, 80u8, 58u8, + 185u8, 211u8, 225u8, 122u8, 100u8, 234u8, 241u8, 123u8, 205u8, 4u8, + 8u8, 193u8, 116u8, 167u8, 158u8, 252u8, 223u8, 204u8, 226u8, 74u8, + 195u8, ], ) } @@ -28836,14 +28147,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "ParasDisputes", "SpamSlots", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 172u8, 23u8, 120u8, 188u8, 71u8, 248u8, 252u8, 41u8, 132u8, - 221u8, 98u8, 215u8, 33u8, 242u8, 168u8, 196u8, 90u8, 123u8, - 190u8, 27u8, 147u8, 6u8, 196u8, 175u8, 198u8, 216u8, 50u8, - 74u8, 138u8, 122u8, 251u8, 238u8, + 172u8, 23u8, 120u8, 188u8, 71u8, 248u8, 252u8, 41u8, 132u8, 221u8, + 98u8, 215u8, 33u8, 242u8, 168u8, 196u8, 90u8, 123u8, 190u8, 27u8, + 147u8, 6u8, 196u8, 175u8, 198u8, 216u8, 50u8, 74u8, 138u8, 122u8, + 251u8, 238u8, ], ) } @@ -28866,10 +28177,10 @@ pub mod api { "SpamSlots", Vec::new(), [ - 172u8, 23u8, 120u8, 188u8, 71u8, 248u8, 252u8, 41u8, 132u8, - 221u8, 98u8, 215u8, 33u8, 242u8, 168u8, 196u8, 90u8, 123u8, - 190u8, 27u8, 147u8, 6u8, 196u8, 175u8, 198u8, 216u8, 50u8, - 74u8, 138u8, 122u8, 251u8, 238u8, + 172u8, 23u8, 120u8, 188u8, 71u8, 248u8, 252u8, 41u8, 132u8, 221u8, + 98u8, 215u8, 33u8, 242u8, 168u8, 196u8, 90u8, 123u8, 190u8, 27u8, + 147u8, 6u8, 196u8, 175u8, 198u8, 216u8, 50u8, 74u8, 138u8, 122u8, + 251u8, 238u8, ], ) } @@ -28891,10 +28202,10 @@ pub mod api { "Frozen", vec![], [ - 133u8, 100u8, 86u8, 220u8, 180u8, 189u8, 65u8, 131u8, 64u8, - 56u8, 219u8, 47u8, 130u8, 167u8, 210u8, 125u8, 49u8, 7u8, - 153u8, 254u8, 20u8, 53u8, 218u8, 177u8, 122u8, 148u8, 16u8, - 198u8, 251u8, 50u8, 194u8, 128u8, + 133u8, 100u8, 86u8, 220u8, 180u8, 189u8, 65u8, 131u8, 64u8, 56u8, + 219u8, 47u8, 130u8, 167u8, 210u8, 125u8, 49u8, 7u8, 153u8, 254u8, 20u8, + 53u8, 218u8, 177u8, 122u8, 148u8, 16u8, 198u8, 251u8, 50u8, 194u8, + 128u8, ], ) } @@ -28921,8 +28232,7 @@ pub mod api { pub struct Register { pub id: runtime_types::polkadot_parachain::primitives::Id, pub genesis_head: runtime_types::polkadot_parachain::primitives::HeadData, - pub validation_code: - runtime_types::polkadot_parachain::primitives::ValidationCode, + pub validation_code: runtime_types::polkadot_parachain::primitives::ValidationCode, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -28938,8 +28248,7 @@ pub mod api { pub deposit: ::core::primitive::u128, pub id: runtime_types::polkadot_parachain::primitives::Id, pub genesis_head: runtime_types::polkadot_parachain::primitives::HeadData, - pub validation_code: - runtime_types::polkadot_parachain::primitives::ValidationCode, + pub validation_code: runtime_types::polkadot_parachain::primitives::ValidationCode, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -29011,8 +28320,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ScheduleCodeUpgrade { pub para: runtime_types::polkadot_parachain::primitives::Id, - pub new_code: - runtime_types::polkadot_parachain::primitives::ValidationCode, + pub new_code: runtime_types::polkadot_parachain::primitives::ValidationCode, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -29047,7 +28355,7 @@ pub mod api { &self, id: runtime_types::polkadot_parachain::primitives::Id, genesis_head: runtime_types::polkadot_parachain::primitives::HeadData, - validation_code : runtime_types :: polkadot_parachain :: primitives :: ValidationCode, + validation_code: runtime_types::polkadot_parachain::primitives::ValidationCode, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Registrar", @@ -29058,10 +28366,9 @@ pub mod api { validation_code, }, [ - 154u8, 84u8, 201u8, 125u8, 72u8, 69u8, 188u8, 42u8, 225u8, - 14u8, 136u8, 48u8, 78u8, 86u8, 99u8, 238u8, 252u8, 255u8, - 226u8, 219u8, 214u8, 17u8, 19u8, 9u8, 12u8, 13u8, 174u8, - 243u8, 37u8, 134u8, 76u8, 23u8, + 154u8, 84u8, 201u8, 125u8, 72u8, 69u8, 188u8, 42u8, 225u8, 14u8, 136u8, + 48u8, 78u8, 86u8, 99u8, 238u8, 252u8, 255u8, 226u8, 219u8, 214u8, 17u8, + 19u8, 9u8, 12u8, 13u8, 174u8, 243u8, 37u8, 134u8, 76u8, 23u8, ], ) } @@ -29077,7 +28384,7 @@ pub mod api { 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, + validation_code: runtime_types::polkadot_parachain::primitives::ValidationCode, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Registrar", @@ -29090,10 +28397,9 @@ pub mod api { validation_code, }, [ - 59u8, 24u8, 236u8, 163u8, 53u8, 49u8, 92u8, 199u8, 38u8, - 76u8, 101u8, 73u8, 166u8, 105u8, 145u8, 55u8, 89u8, 30u8, - 30u8, 137u8, 151u8, 219u8, 116u8, 226u8, 168u8, 220u8, 222u8, - 6u8, 105u8, 91u8, 254u8, 216u8, + 59u8, 24u8, 236u8, 163u8, 53u8, 49u8, 92u8, 199u8, 38u8, 76u8, 101u8, + 73u8, 166u8, 105u8, 145u8, 55u8, 89u8, 30u8, 30u8, 137u8, 151u8, 219u8, + 116u8, 226u8, 168u8, 220u8, 222u8, 6u8, 105u8, 91u8, 254u8, 216u8, ], ) } @@ -29109,10 +28415,9 @@ pub mod api { "deregister", Deregister { id }, [ - 137u8, 9u8, 146u8, 11u8, 126u8, 125u8, 186u8, 222u8, 246u8, - 199u8, 94u8, 229u8, 147u8, 245u8, 213u8, 51u8, 203u8, 181u8, - 78u8, 87u8, 18u8, 255u8, 79u8, 107u8, 234u8, 2u8, 21u8, - 212u8, 1u8, 73u8, 173u8, 253u8, + 137u8, 9u8, 146u8, 11u8, 126u8, 125u8, 186u8, 222u8, 246u8, 199u8, + 94u8, 229u8, 147u8, 245u8, 213u8, 51u8, 203u8, 181u8, 78u8, 87u8, 18u8, + 255u8, 79u8, 107u8, 234u8, 2u8, 21u8, 212u8, 1u8, 73u8, 173u8, 253u8, ], ) } @@ -29137,10 +28442,9 @@ pub mod api { "swap", Swap { id, other }, [ - 238u8, 154u8, 249u8, 250u8, 57u8, 242u8, 47u8, 17u8, 50u8, - 70u8, 124u8, 189u8, 193u8, 137u8, 107u8, 138u8, 216u8, 137u8, - 160u8, 103u8, 192u8, 133u8, 7u8, 130u8, 41u8, 39u8, 47u8, - 139u8, 202u8, 7u8, 84u8, 214u8, + 238u8, 154u8, 249u8, 250u8, 57u8, 242u8, 47u8, 17u8, 50u8, 70u8, 124u8, + 189u8, 193u8, 137u8, 107u8, 138u8, 216u8, 137u8, 160u8, 103u8, 192u8, + 133u8, 7u8, 130u8, 41u8, 39u8, 47u8, 139u8, 202u8, 7u8, 84u8, 214u8, ], ) } @@ -29157,10 +28461,9 @@ pub mod api { "remove_lock", RemoveLock { para }, [ - 93u8, 50u8, 223u8, 180u8, 185u8, 3u8, 225u8, 27u8, 233u8, - 205u8, 101u8, 86u8, 122u8, 19u8, 147u8, 8u8, 202u8, 151u8, - 80u8, 24u8, 196u8, 2u8, 88u8, 250u8, 184u8, 96u8, 158u8, - 70u8, 181u8, 201u8, 200u8, 213u8, + 93u8, 50u8, 223u8, 180u8, 185u8, 3u8, 225u8, 27u8, 233u8, 205u8, 101u8, + 86u8, 122u8, 19u8, 147u8, 8u8, 202u8, 151u8, 80u8, 24u8, 196u8, 2u8, + 88u8, 250u8, 184u8, 96u8, 158u8, 70u8, 181u8, 201u8, 200u8, 213u8, ], ) } @@ -29184,10 +28487,10 @@ pub mod api { "reserve", Reserve {}, [ - 22u8, 210u8, 13u8, 54u8, 253u8, 13u8, 89u8, 174u8, 232u8, - 119u8, 148u8, 206u8, 130u8, 133u8, 199u8, 127u8, 201u8, - 205u8, 8u8, 213u8, 108u8, 93u8, 135u8, 88u8, 238u8, 171u8, - 31u8, 193u8, 23u8, 113u8, 106u8, 135u8, + 22u8, 210u8, 13u8, 54u8, 253u8, 13u8, 89u8, 174u8, 232u8, 119u8, 148u8, + 206u8, 130u8, 133u8, 199u8, 127u8, 201u8, 205u8, 8u8, 213u8, 108u8, + 93u8, 135u8, 88u8, 238u8, 171u8, 31u8, 193u8, 23u8, 113u8, 106u8, + 135u8, ], ) } @@ -29204,10 +28507,9 @@ pub mod api { "add_lock", AddLock { para }, [ - 99u8, 199u8, 192u8, 92u8, 180u8, 52u8, 86u8, 165u8, 249u8, - 60u8, 72u8, 79u8, 233u8, 5u8, 83u8, 194u8, 48u8, 83u8, 249u8, - 218u8, 141u8, 234u8, 232u8, 59u8, 9u8, 150u8, 147u8, 173u8, - 91u8, 154u8, 81u8, 17u8, + 99u8, 199u8, 192u8, 92u8, 180u8, 52u8, 86u8, 165u8, 249u8, 60u8, 72u8, + 79u8, 233u8, 5u8, 83u8, 194u8, 48u8, 83u8, 249u8, 218u8, 141u8, 234u8, + 232u8, 59u8, 9u8, 150u8, 147u8, 173u8, 91u8, 154u8, 81u8, 17u8, ], ) } @@ -29217,17 +28519,16 @@ pub mod api { pub fn schedule_code_upgrade( &self, para: runtime_types::polkadot_parachain::primitives::Id, - new_code : runtime_types :: polkadot_parachain :: primitives :: ValidationCode, + new_code: runtime_types::polkadot_parachain::primitives::ValidationCode, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Registrar", "schedule_code_upgrade", ScheduleCodeUpgrade { para, new_code }, [ - 67u8, 11u8, 148u8, 83u8, 36u8, 106u8, 97u8, 77u8, 79u8, - 114u8, 249u8, 218u8, 207u8, 89u8, 209u8, 120u8, 45u8, 101u8, - 69u8, 21u8, 61u8, 158u8, 90u8, 83u8, 29u8, 143u8, 55u8, 9u8, - 178u8, 75u8, 183u8, 25u8, + 67u8, 11u8, 148u8, 83u8, 36u8, 106u8, 97u8, 77u8, 79u8, 114u8, 249u8, + 218u8, 207u8, 89u8, 209u8, 120u8, 45u8, 101u8, 69u8, 21u8, 61u8, 158u8, + 90u8, 83u8, 29u8, 143u8, 55u8, 9u8, 178u8, 75u8, 183u8, 25u8, ], ) } @@ -29244,18 +28545,17 @@ pub mod api { "set_current_head", SetCurrentHead { para, new_head }, [ - 103u8, 240u8, 206u8, 26u8, 120u8, 189u8, 94u8, 221u8, 174u8, - 225u8, 210u8, 176u8, 217u8, 18u8, 94u8, 216u8, 77u8, 205u8, - 86u8, 196u8, 121u8, 4u8, 230u8, 147u8, 19u8, 224u8, 38u8, - 254u8, 199u8, 254u8, 245u8, 110u8, + 103u8, 240u8, 206u8, 26u8, 120u8, 189u8, 94u8, 221u8, 174u8, 225u8, + 210u8, 176u8, 217u8, 18u8, 94u8, 216u8, 77u8, 205u8, 86u8, 196u8, + 121u8, 4u8, 230u8, 147u8, 19u8, 224u8, 38u8, 254u8, 199u8, 254u8, + 245u8, 110u8, ], ) } } } #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] - pub type Event = - runtime_types::polkadot_runtime_common::paras_registrar::pallet::Event; + pub type Event = runtime_types::polkadot_runtime_common::paras_registrar::pallet::Event; pub mod events { use super::runtime_types; #[derive( @@ -29316,9 +28616,7 @@ pub mod api { #[doc = " Pending swap operations."] pub fn pending_swap( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, runtime_types::polkadot_parachain::primitives::Id, @@ -29329,14 +28627,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Registrar", "PendingSwap", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 121u8, 124u8, 4u8, 120u8, 173u8, 48u8, 227u8, 135u8, 72u8, - 74u8, 238u8, 230u8, 1u8, 175u8, 33u8, 241u8, 138u8, 82u8, - 217u8, 129u8, 138u8, 107u8, 59u8, 8u8, 205u8, 244u8, 192u8, - 159u8, 171u8, 123u8, 149u8, 174u8, + 121u8, 124u8, 4u8, 120u8, 173u8, 48u8, 227u8, 135u8, 72u8, 74u8, 238u8, + 230u8, 1u8, 175u8, 33u8, 241u8, 138u8, 82u8, 217u8, 129u8, 138u8, + 107u8, 59u8, 8u8, 205u8, 244u8, 192u8, 159u8, 171u8, 123u8, 149u8, + 174u8, ], ) } @@ -29355,10 +28653,10 @@ pub mod api { "PendingSwap", Vec::new(), [ - 121u8, 124u8, 4u8, 120u8, 173u8, 48u8, 227u8, 135u8, 72u8, - 74u8, 238u8, 230u8, 1u8, 175u8, 33u8, 241u8, 138u8, 82u8, - 217u8, 129u8, 138u8, 107u8, 59u8, 8u8, 205u8, 244u8, 192u8, - 159u8, 171u8, 123u8, 149u8, 174u8, + 121u8, 124u8, 4u8, 120u8, 173u8, 48u8, 227u8, 135u8, 72u8, 74u8, 238u8, + 230u8, 1u8, 175u8, 33u8, 241u8, 138u8, 82u8, 217u8, 129u8, 138u8, + 107u8, 59u8, 8u8, 205u8, 244u8, 192u8, 159u8, 171u8, 123u8, 149u8, + 174u8, ], ) } @@ -29368,9 +28666,7 @@ pub mod api { #[doc = " so if it isn't yet registered. (After that, it's up to governance to do so.)"] pub fn paras( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, runtime_types::polkadot_runtime_common::paras_registrar::ParaInfo< @@ -29384,14 +28680,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Registrar", "Paras", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 149u8, 3u8, 25u8, 145u8, 60u8, 126u8, 219u8, 71u8, 88u8, - 241u8, 122u8, 99u8, 134u8, 191u8, 60u8, 172u8, 230u8, 230u8, - 110u8, 31u8, 43u8, 6u8, 146u8, 161u8, 51u8, 21u8, 169u8, - 220u8, 240u8, 218u8, 124u8, 56u8, + 149u8, 3u8, 25u8, 145u8, 60u8, 126u8, 219u8, 71u8, 88u8, 241u8, 122u8, + 99u8, 134u8, 191u8, 60u8, 172u8, 230u8, 230u8, 110u8, 31u8, 43u8, 6u8, + 146u8, 161u8, 51u8, 21u8, 169u8, 220u8, 240u8, 218u8, 124u8, 56u8, ], ) } @@ -29416,10 +28711,9 @@ pub mod api { "Paras", Vec::new(), [ - 149u8, 3u8, 25u8, 145u8, 60u8, 126u8, 219u8, 71u8, 88u8, - 241u8, 122u8, 99u8, 134u8, 191u8, 60u8, 172u8, 230u8, 230u8, - 110u8, 31u8, 43u8, 6u8, 146u8, 161u8, 51u8, 21u8, 169u8, - 220u8, 240u8, 218u8, 124u8, 56u8, + 149u8, 3u8, 25u8, 145u8, 60u8, 126u8, 219u8, 71u8, 88u8, 241u8, 122u8, + 99u8, 134u8, 191u8, 60u8, 172u8, 230u8, 230u8, 110u8, 31u8, 43u8, 6u8, + 146u8, 161u8, 51u8, 21u8, 169u8, 220u8, 240u8, 218u8, 124u8, 56u8, ], ) } @@ -29438,10 +28732,9 @@ pub mod api { "NextFreeParaId", vec![], [ - 139u8, 76u8, 36u8, 150u8, 237u8, 36u8, 143u8, 242u8, 252u8, - 29u8, 236u8, 168u8, 97u8, 50u8, 175u8, 120u8, 83u8, 118u8, - 205u8, 64u8, 95u8, 65u8, 7u8, 230u8, 171u8, 86u8, 189u8, - 205u8, 231u8, 211u8, 97u8, 29u8, + 139u8, 76u8, 36u8, 150u8, 237u8, 36u8, 143u8, 242u8, 252u8, 29u8, + 236u8, 168u8, 97u8, 50u8, 175u8, 120u8, 83u8, 118u8, 205u8, 64u8, 95u8, + 65u8, 7u8, 230u8, 171u8, 86u8, 189u8, 205u8, 231u8, 211u8, 97u8, 29u8, ], ) } @@ -29453,34 +28746,28 @@ pub mod api { impl ConstantsApi { #[doc = " The deposit to be paid to run a parathread."] #[doc = " This should include the cost for storing the genesis head and validation code."] - pub fn para_deposit( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + pub fn para_deposit(&self) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Registrar", "ParaDeposit", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } #[doc = " The deposit to be paid per byte stored on chain."] pub fn data_deposit_per_byte( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Registrar", "DataDepositPerByte", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -29560,10 +28847,9 @@ pub mod api { period_count, }, [ - 196u8, 2u8, 63u8, 229u8, 18u8, 134u8, 48u8, 4u8, 165u8, 46u8, - 173u8, 0u8, 189u8, 35u8, 99u8, 84u8, 103u8, 124u8, 233u8, - 246u8, 60u8, 172u8, 181u8, 205u8, 154u8, 164u8, 36u8, 178u8, - 60u8, 164u8, 166u8, 21u8, + 196u8, 2u8, 63u8, 229u8, 18u8, 134u8, 48u8, 4u8, 165u8, 46u8, 173u8, + 0u8, 189u8, 35u8, 99u8, 84u8, 103u8, 124u8, 233u8, 246u8, 60u8, 172u8, + 181u8, 205u8, 154u8, 164u8, 36u8, 178u8, 60u8, 164u8, 166u8, 21u8, ], ) } @@ -29579,10 +28865,9 @@ pub mod api { "clear_all_leases", ClearAllLeases { para }, [ - 16u8, 14u8, 185u8, 45u8, 149u8, 70u8, 177u8, 133u8, 130u8, - 173u8, 196u8, 244u8, 77u8, 63u8, 218u8, 64u8, 108u8, 83u8, - 84u8, 184u8, 175u8, 122u8, 36u8, 115u8, 146u8, 117u8, 132u8, - 82u8, 2u8, 144u8, 62u8, 179u8, + 16u8, 14u8, 185u8, 45u8, 149u8, 70u8, 177u8, 133u8, 130u8, 173u8, + 196u8, 244u8, 77u8, 63u8, 218u8, 64u8, 108u8, 83u8, 84u8, 184u8, 175u8, + 122u8, 36u8, 115u8, 146u8, 117u8, 132u8, 82u8, 2u8, 144u8, 62u8, 179u8, ], ) } @@ -29602,10 +28887,9 @@ pub mod api { "trigger_onboard", TriggerOnboard { para }, [ - 74u8, 158u8, 122u8, 37u8, 34u8, 62u8, 61u8, 218u8, 94u8, - 222u8, 1u8, 153u8, 131u8, 215u8, 157u8, 180u8, 98u8, 130u8, - 151u8, 179u8, 22u8, 120u8, 32u8, 207u8, 208u8, 46u8, 248u8, - 43u8, 154u8, 118u8, 106u8, 2u8, + 74u8, 158u8, 122u8, 37u8, 34u8, 62u8, 61u8, 218u8, 94u8, 222u8, 1u8, + 153u8, 131u8, 215u8, 157u8, 180u8, 98u8, 130u8, 151u8, 179u8, 22u8, + 120u8, 32u8, 207u8, 208u8, 46u8, 248u8, 43u8, 154u8, 118u8, 106u8, 2u8, ], ) } @@ -29680,9 +28964,7 @@ pub mod api { #[doc = " It is illegal for a `None` value to trail in the list."] pub fn leases( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, ::std::vec::Vec< @@ -29698,14 +28980,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Slots", "Leases", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 7u8, 104u8, 17u8, 66u8, 157u8, 89u8, 238u8, 38u8, 233u8, - 241u8, 110u8, 67u8, 132u8, 101u8, 243u8, 62u8, 73u8, 7u8, - 9u8, 172u8, 22u8, 51u8, 118u8, 87u8, 3u8, 224u8, 120u8, 88u8, - 139u8, 11u8, 96u8, 147u8, + 7u8, 104u8, 17u8, 66u8, 157u8, 89u8, 238u8, 38u8, 233u8, 241u8, 110u8, + 67u8, 132u8, 101u8, 243u8, 62u8, 73u8, 7u8, 9u8, 172u8, 22u8, 51u8, + 118u8, 87u8, 3u8, 224u8, 120u8, 88u8, 139u8, 11u8, 96u8, 147u8, ], ) } @@ -29744,10 +29025,9 @@ pub mod api { "Leases", Vec::new(), [ - 7u8, 104u8, 17u8, 66u8, 157u8, 89u8, 238u8, 38u8, 233u8, - 241u8, 110u8, 67u8, 132u8, 101u8, 243u8, 62u8, 73u8, 7u8, - 9u8, 172u8, 22u8, 51u8, 118u8, 87u8, 3u8, 224u8, 120u8, 88u8, - 139u8, 11u8, 96u8, 147u8, + 7u8, 104u8, 17u8, 66u8, 157u8, 89u8, 238u8, 38u8, 233u8, 241u8, 110u8, + 67u8, 132u8, 101u8, 243u8, 62u8, 73u8, 7u8, 9u8, 172u8, 22u8, 51u8, + 118u8, 87u8, 3u8, 224u8, 120u8, 88u8, 139u8, 11u8, 96u8, 147u8, ], ) } @@ -29758,32 +29038,28 @@ pub mod api { pub struct ConstantsApi; impl ConstantsApi { #[doc = " The number of blocks over which a single period lasts."] - pub fn lease_period( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn lease_period(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Slots", "LeasePeriod", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " The number of blocks to offset each lease period by."] - pub fn lease_offset( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn lease_offset(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Slots", "LeaseOffset", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -29864,10 +29140,10 @@ pub mod api { lease_period_index, }, [ - 171u8, 40u8, 200u8, 164u8, 213u8, 10u8, 145u8, 164u8, 212u8, - 14u8, 117u8, 215u8, 248u8, 59u8, 34u8, 79u8, 50u8, 176u8, - 164u8, 143u8, 92u8, 82u8, 207u8, 37u8, 103u8, 252u8, 255u8, - 142u8, 239u8, 134u8, 114u8, 151u8, + 171u8, 40u8, 200u8, 164u8, 213u8, 10u8, 145u8, 164u8, 212u8, 14u8, + 117u8, 215u8, 248u8, 59u8, 34u8, 79u8, 50u8, 176u8, 164u8, 143u8, 92u8, + 82u8, 207u8, 37u8, 103u8, 252u8, 255u8, 142u8, 239u8, 134u8, 114u8, + 151u8, ], ) } @@ -29906,10 +29182,9 @@ pub mod api { amount, }, [ - 243u8, 233u8, 248u8, 221u8, 239u8, 59u8, 65u8, 63u8, 125u8, - 129u8, 202u8, 165u8, 30u8, 228u8, 32u8, 73u8, 225u8, 38u8, - 128u8, 98u8, 102u8, 46u8, 203u8, 32u8, 70u8, 74u8, 136u8, - 163u8, 83u8, 211u8, 227u8, 139u8, + 243u8, 233u8, 248u8, 221u8, 239u8, 59u8, 65u8, 63u8, 125u8, 129u8, + 202u8, 165u8, 30u8, 228u8, 32u8, 73u8, 225u8, 38u8, 128u8, 98u8, 102u8, + 46u8, 203u8, 32u8, 70u8, 74u8, 136u8, 163u8, 83u8, 211u8, 227u8, 139u8, ], ) } @@ -29922,10 +29197,10 @@ pub mod api { "cancel_auction", CancelAuction {}, [ - 182u8, 223u8, 178u8, 136u8, 1u8, 115u8, 229u8, 78u8, 166u8, - 128u8, 28u8, 106u8, 6u8, 248u8, 46u8, 55u8, 110u8, 120u8, - 213u8, 11u8, 90u8, 217u8, 42u8, 120u8, 47u8, 83u8, 126u8, - 216u8, 236u8, 251u8, 255u8, 50u8, + 182u8, 223u8, 178u8, 136u8, 1u8, 115u8, 229u8, 78u8, 166u8, 128u8, + 28u8, 106u8, 6u8, 248u8, 46u8, 55u8, 110u8, 120u8, 213u8, 11u8, 90u8, + 217u8, 42u8, 120u8, 47u8, 83u8, 126u8, 216u8, 236u8, 251u8, 255u8, + 50u8, ], ) } @@ -30090,10 +29365,9 @@ pub mod api { "AuctionCounter", vec![], [ - 67u8, 247u8, 96u8, 152u8, 0u8, 224u8, 230u8, 98u8, 194u8, - 107u8, 3u8, 203u8, 51u8, 201u8, 149u8, 22u8, 184u8, 80u8, - 251u8, 239u8, 253u8, 19u8, 58u8, 192u8, 65u8, 96u8, 189u8, - 54u8, 175u8, 130u8, 143u8, 181u8, + 67u8, 247u8, 96u8, 152u8, 0u8, 224u8, 230u8, 98u8, 194u8, 107u8, 3u8, + 203u8, 51u8, 201u8, 149u8, 22u8, 184u8, 80u8, 251u8, 239u8, 253u8, + 19u8, 58u8, 192u8, 65u8, 96u8, 189u8, 54u8, 175u8, 130u8, 143u8, 181u8, ], ) } @@ -30116,10 +29390,9 @@ pub mod api { "AuctionInfo", vec![], [ - 73u8, 216u8, 173u8, 230u8, 132u8, 78u8, 83u8, 62u8, 200u8, - 69u8, 17u8, 73u8, 57u8, 107u8, 160u8, 90u8, 147u8, 84u8, - 29u8, 110u8, 144u8, 215u8, 169u8, 110u8, 217u8, 77u8, 109u8, - 204u8, 1u8, 164u8, 95u8, 83u8, + 73u8, 216u8, 173u8, 230u8, 132u8, 78u8, 83u8, 62u8, 200u8, 69u8, 17u8, + 73u8, 57u8, 107u8, 160u8, 90u8, 147u8, 84u8, 29u8, 110u8, 144u8, 215u8, + 169u8, 110u8, 217u8, 77u8, 109u8, 204u8, 1u8, 164u8, 95u8, 83u8, ], ) } @@ -30128,9 +29401,7 @@ pub mod api { pub fn reserved_amounts( &self, _0: impl ::std::borrow::Borrow<::subxt::utils::AccountId32>, - _1: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _1: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, ::core::primitive::u128, @@ -30142,18 +29413,14 @@ pub mod api { "Auctions", "ReservedAmounts", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 120u8, 85u8, 180u8, 244u8, 154u8, 135u8, 87u8, 79u8, 75u8, - 169u8, 220u8, 117u8, 227u8, 85u8, 198u8, 214u8, 28u8, 126u8, - 66u8, 188u8, 137u8, 111u8, 110u8, 152u8, 18u8, 233u8, 76u8, - 166u8, 55u8, 233u8, 93u8, 62u8, + 120u8, 85u8, 180u8, 244u8, 154u8, 135u8, 87u8, 79u8, 75u8, 169u8, + 220u8, 117u8, 227u8, 85u8, 198u8, 214u8, 28u8, 126u8, 66u8, 188u8, + 137u8, 111u8, 110u8, 152u8, 18u8, 233u8, 76u8, 166u8, 55u8, 233u8, + 93u8, 62u8, ], ) } @@ -30173,10 +29440,10 @@ pub mod api { "ReservedAmounts", Vec::new(), [ - 120u8, 85u8, 180u8, 244u8, 154u8, 135u8, 87u8, 79u8, 75u8, - 169u8, 220u8, 117u8, 227u8, 85u8, 198u8, 214u8, 28u8, 126u8, - 66u8, 188u8, 137u8, 111u8, 110u8, 152u8, 18u8, 233u8, 76u8, - 166u8, 55u8, 233u8, 93u8, 62u8, + 120u8, 85u8, 180u8, 244u8, 154u8, 135u8, 87u8, 79u8, 75u8, 169u8, + 220u8, 117u8, 227u8, 85u8, 198u8, 214u8, 28u8, 126u8, 66u8, 188u8, + 137u8, 111u8, 110u8, 152u8, 18u8, 233u8, 76u8, 166u8, 55u8, 233u8, + 93u8, 62u8, ], ) } @@ -30200,14 +29467,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Auctions", "Winning", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 63u8, 56u8, 143u8, 200u8, 12u8, 71u8, 187u8, 73u8, 215u8, - 93u8, 222u8, 102u8, 5u8, 113u8, 6u8, 170u8, 95u8, 228u8, - 28u8, 58u8, 109u8, 62u8, 3u8, 125u8, 211u8, 139u8, 194u8, - 30u8, 151u8, 147u8, 47u8, 205u8, + 63u8, 56u8, 143u8, 200u8, 12u8, 71u8, 187u8, 73u8, 215u8, 93u8, 222u8, + 102u8, 5u8, 113u8, 6u8, 170u8, 95u8, 228u8, 28u8, 58u8, 109u8, 62u8, + 3u8, 125u8, 211u8, 139u8, 194u8, 30u8, 151u8, 147u8, 47u8, 205u8, ], ) } @@ -30232,10 +29498,9 @@ pub mod api { "Winning", Vec::new(), [ - 63u8, 56u8, 143u8, 200u8, 12u8, 71u8, 187u8, 73u8, 215u8, - 93u8, 222u8, 102u8, 5u8, 113u8, 6u8, 170u8, 95u8, 228u8, - 28u8, 58u8, 109u8, 62u8, 3u8, 125u8, 211u8, 139u8, 194u8, - 30u8, 151u8, 147u8, 47u8, 205u8, + 63u8, 56u8, 143u8, 200u8, 12u8, 71u8, 187u8, 73u8, 215u8, 93u8, 222u8, + 102u8, 5u8, 113u8, 6u8, 170u8, 95u8, 228u8, 28u8, 58u8, 109u8, 62u8, + 3u8, 125u8, 211u8, 139u8, 194u8, 30u8, 151u8, 147u8, 47u8, 205u8, ], ) } @@ -30246,34 +29511,30 @@ pub mod api { pub struct ConstantsApi; impl ConstantsApi { #[doc = " The number of blocks over which an auction may be retroactively ended."] - pub fn ending_period( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn ending_period(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Auctions", "EndingPeriod", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } #[doc = " The length of each sample to take during the ending period."] #[doc = ""] #[doc = " `EndingPeriod` / `SampleLength` = Total # of Samples"] - pub fn sample_length( - &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { + pub fn sample_length(&self) -> ::subxt::constants::Address<::core::primitive::u32> { ::subxt::constants::Address::new_static( "Auctions", "SampleLength", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -30284,10 +29545,10 @@ pub mod api { "Auctions", "SlotRangeCount", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -30298,10 +29559,10 @@ pub mod api { "Auctions", "LeasePeriodsPerSlot", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -30336,8 +29597,7 @@ pub mod api { pub last_period: ::core::primitive::u32, #[codec(compact)] pub end: ::core::primitive::u32, - pub verifier: - ::core::option::Option, + pub verifier: ::core::option::Option, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -30353,8 +29613,7 @@ pub mod api { pub index: runtime_types::polkadot_parachain::primitives::Id, #[codec(compact)] pub value: ::core::primitive::u128, - pub signature: - ::core::option::Option, + pub signature: ::core::option::Option, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -30416,8 +29675,7 @@ pub mod api { pub last_period: ::core::primitive::u32, #[codec(compact)] pub end: ::core::primitive::u32, - pub verifier: - ::core::option::Option, + pub verifier: ::core::option::Option, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -30456,8 +29714,7 @@ pub mod api { pub struct ContributeAll { #[codec(compact)] pub index: runtime_types::polkadot_parachain::primitives::Id, - pub signature: - ::core::option::Option, + pub signature: ::core::option::Option, } pub struct TransactionApi; impl TransactionApi { @@ -30472,9 +29729,7 @@ pub mod api { first_period: ::core::primitive::u32, last_period: ::core::primitive::u32, end: ::core::primitive::u32, - verifier: ::core::option::Option< - runtime_types::sp_runtime::MultiSigner, - >, + verifier: ::core::option::Option, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Crowdloan", @@ -30488,10 +29743,9 @@ pub mod api { verifier, }, [ - 78u8, 52u8, 156u8, 23u8, 104u8, 251u8, 20u8, 233u8, 42u8, - 231u8, 16u8, 192u8, 164u8, 68u8, 98u8, 129u8, 88u8, 126u8, - 123u8, 4u8, 210u8, 161u8, 190u8, 90u8, 67u8, 235u8, 74u8, - 184u8, 180u8, 197u8, 248u8, 238u8, + 78u8, 52u8, 156u8, 23u8, 104u8, 251u8, 20u8, 233u8, 42u8, 231u8, 16u8, + 192u8, 164u8, 68u8, 98u8, 129u8, 88u8, 126u8, 123u8, 4u8, 210u8, 161u8, + 190u8, 90u8, 67u8, 235u8, 74u8, 184u8, 180u8, 197u8, 248u8, 238u8, ], ) } @@ -30501,9 +29755,7 @@ pub mod api { &self, index: runtime_types::polkadot_parachain::primitives::Id, value: ::core::primitive::u128, - signature: ::core::option::Option< - runtime_types::sp_runtime::MultiSignature, - >, + signature: ::core::option::Option, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Crowdloan", @@ -30514,10 +29766,10 @@ pub mod api { signature, }, [ - 159u8, 180u8, 248u8, 203u8, 128u8, 231u8, 28u8, 84u8, 14u8, - 214u8, 69u8, 217u8, 62u8, 201u8, 169u8, 160u8, 45u8, 160u8, - 125u8, 255u8, 95u8, 140u8, 58u8, 3u8, 224u8, 157u8, 199u8, - 229u8, 72u8, 40u8, 218u8, 55u8, + 159u8, 180u8, 248u8, 203u8, 128u8, 231u8, 28u8, 84u8, 14u8, 214u8, + 69u8, 217u8, 62u8, 201u8, 169u8, 160u8, 45u8, 160u8, 125u8, 255u8, + 95u8, 140u8, 58u8, 3u8, 224u8, 157u8, 199u8, 229u8, 72u8, 40u8, 218u8, + 55u8, ], ) } @@ -30548,10 +29800,10 @@ pub mod api { "withdraw", Withdraw { who, index }, [ - 147u8, 177u8, 116u8, 152u8, 9u8, 102u8, 4u8, 201u8, 204u8, - 145u8, 104u8, 226u8, 86u8, 211u8, 66u8, 109u8, 109u8, 139u8, - 229u8, 97u8, 215u8, 101u8, 255u8, 181u8, 121u8, 139u8, 165u8, - 169u8, 112u8, 173u8, 213u8, 121u8, + 147u8, 177u8, 116u8, 152u8, 9u8, 102u8, 4u8, 201u8, 204u8, 145u8, + 104u8, 226u8, 86u8, 211u8, 66u8, 109u8, 109u8, 139u8, 229u8, 97u8, + 215u8, 101u8, 255u8, 181u8, 121u8, 139u8, 165u8, 169u8, 112u8, 173u8, + 213u8, 121u8, ], ) } @@ -30569,10 +29821,10 @@ pub mod api { "refund", Refund { index }, [ - 223u8, 64u8, 5u8, 135u8, 15u8, 234u8, 60u8, 114u8, 199u8, - 216u8, 73u8, 165u8, 198u8, 34u8, 140u8, 142u8, 214u8, 254u8, - 203u8, 163u8, 224u8, 120u8, 104u8, 54u8, 12u8, 126u8, 72u8, - 147u8, 20u8, 180u8, 251u8, 208u8, + 223u8, 64u8, 5u8, 135u8, 15u8, 234u8, 60u8, 114u8, 199u8, 216u8, 73u8, + 165u8, 198u8, 34u8, 140u8, 142u8, 214u8, 254u8, 203u8, 163u8, 224u8, + 120u8, 104u8, 54u8, 12u8, 126u8, 72u8, 147u8, 20u8, 180u8, 251u8, + 208u8, ], ) } @@ -30586,10 +29838,9 @@ pub mod api { "dissolve", Dissolve { index }, [ - 100u8, 67u8, 105u8, 3u8, 213u8, 149u8, 201u8, 146u8, 241u8, - 62u8, 31u8, 108u8, 58u8, 30u8, 241u8, 141u8, 134u8, 115u8, - 56u8, 131u8, 60u8, 75u8, 143u8, 227u8, 11u8, 32u8, 31u8, - 230u8, 165u8, 227u8, 170u8, 126u8, + 100u8, 67u8, 105u8, 3u8, 213u8, 149u8, 201u8, 146u8, 241u8, 62u8, 31u8, + 108u8, 58u8, 30u8, 241u8, 141u8, 134u8, 115u8, 56u8, 131u8, 60u8, 75u8, + 143u8, 227u8, 11u8, 32u8, 31u8, 230u8, 165u8, 227u8, 170u8, 126u8, ], ) } @@ -30603,9 +29854,7 @@ pub mod api { first_period: ::core::primitive::u32, last_period: ::core::primitive::u32, end: ::core::primitive::u32, - verifier: ::core::option::Option< - runtime_types::sp_runtime::MultiSigner, - >, + verifier: ::core::option::Option, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Crowdloan", @@ -30619,10 +29868,10 @@ pub mod api { verifier, }, [ - 222u8, 124u8, 94u8, 221u8, 36u8, 183u8, 67u8, 114u8, 198u8, - 107u8, 154u8, 174u8, 142u8, 47u8, 3u8, 181u8, 72u8, 29u8, - 2u8, 83u8, 81u8, 47u8, 168u8, 142u8, 139u8, 63u8, 136u8, - 191u8, 41u8, 252u8, 221u8, 56u8, + 222u8, 124u8, 94u8, 221u8, 36u8, 183u8, 67u8, 114u8, 198u8, 107u8, + 154u8, 174u8, 142u8, 47u8, 3u8, 181u8, 72u8, 29u8, 2u8, 83u8, 81u8, + 47u8, 168u8, 142u8, 139u8, 63u8, 136u8, 191u8, 41u8, 252u8, 221u8, + 56u8, ], ) } @@ -30639,10 +29888,9 @@ pub mod api { "add_memo", AddMemo { index, memo }, [ - 104u8, 199u8, 143u8, 251u8, 28u8, 49u8, 144u8, 186u8, 83u8, - 108u8, 26u8, 127u8, 22u8, 141u8, 48u8, 62u8, 194u8, 193u8, - 97u8, 10u8, 84u8, 89u8, 236u8, 191u8, 40u8, 8u8, 1u8, 250u8, - 112u8, 165u8, 221u8, 112u8, + 104u8, 199u8, 143u8, 251u8, 28u8, 49u8, 144u8, 186u8, 83u8, 108u8, + 26u8, 127u8, 22u8, 141u8, 48u8, 62u8, 194u8, 193u8, 97u8, 10u8, 84u8, + 89u8, 236u8, 191u8, 40u8, 8u8, 1u8, 250u8, 112u8, 165u8, 221u8, 112u8, ], ) } @@ -30658,10 +29906,9 @@ pub mod api { "poke", Poke { index }, [ - 118u8, 60u8, 131u8, 17u8, 27u8, 153u8, 57u8, 24u8, 191u8, - 211u8, 101u8, 123u8, 34u8, 145u8, 193u8, 113u8, 244u8, 162u8, - 148u8, 143u8, 81u8, 86u8, 136u8, 23u8, 48u8, 185u8, 52u8, - 60u8, 216u8, 243u8, 63u8, 102u8, + 118u8, 60u8, 131u8, 17u8, 27u8, 153u8, 57u8, 24u8, 191u8, 211u8, 101u8, + 123u8, 34u8, 145u8, 193u8, 113u8, 244u8, 162u8, 148u8, 143u8, 81u8, + 86u8, 136u8, 23u8, 48u8, 185u8, 52u8, 60u8, 216u8, 243u8, 63u8, 102u8, ], ) } @@ -30670,19 +29917,17 @@ pub mod api { pub fn contribute_all( &self, index: runtime_types::polkadot_parachain::primitives::Id, - signature: ::core::option::Option< - runtime_types::sp_runtime::MultiSignature, - >, + signature: ::core::option::Option, ) -> ::subxt::tx::Payload { ::subxt::tx::Payload::new_static( "Crowdloan", "contribute_all", ContributeAll { index, signature }, [ - 94u8, 61u8, 105u8, 107u8, 204u8, 18u8, 223u8, 242u8, 19u8, - 162u8, 205u8, 130u8, 203u8, 73u8, 42u8, 85u8, 208u8, 157u8, - 115u8, 112u8, 168u8, 10u8, 163u8, 80u8, 222u8, 71u8, 23u8, - 194u8, 142u8, 4u8, 82u8, 253u8, + 94u8, 61u8, 105u8, 107u8, 204u8, 18u8, 223u8, 242u8, 19u8, 162u8, + 205u8, 130u8, 203u8, 73u8, 42u8, 85u8, 208u8, 157u8, 115u8, 112u8, + 168u8, 10u8, 163u8, 80u8, 222u8, 71u8, 23u8, 194u8, 142u8, 4u8, 82u8, + 253u8, ], ) } @@ -30811,8 +30056,7 @@ pub mod api { #[doc = "The result of trying to submit a new bid to the Slots pallet."] pub struct HandleBidResult { pub para_id: runtime_types::polkadot_parachain::primitives::Id, - pub result: - ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, + pub result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, } impl ::subxt::events::StaticEvent for HandleBidResult { const PALLET: &'static str = "Crowdloan"; @@ -30879,9 +30123,7 @@ pub mod api { #[doc = " Info on all of the funds."] pub fn funds( &self, - _0: impl ::std::borrow::Borrow< - runtime_types::polkadot_parachain::primitives::Id, - >, + _0: impl ::std::borrow::Borrow, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, runtime_types::polkadot_runtime_common::crowdloan::FundInfo< @@ -30897,14 +30139,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "Crowdloan", "Funds", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 231u8, 126u8, 89u8, 84u8, 167u8, 23u8, 211u8, 70u8, 203u8, - 124u8, 20u8, 162u8, 112u8, 38u8, 201u8, 207u8, 82u8, 202u8, - 80u8, 228u8, 4u8, 41u8, 95u8, 190u8, 193u8, 185u8, 178u8, - 85u8, 179u8, 102u8, 53u8, 63u8, + 231u8, 126u8, 89u8, 84u8, 167u8, 23u8, 211u8, 70u8, 203u8, 124u8, 20u8, + 162u8, 112u8, 38u8, 201u8, 207u8, 82u8, 202u8, 80u8, 228u8, 4u8, 41u8, + 95u8, 190u8, 193u8, 185u8, 178u8, 85u8, 179u8, 102u8, 53u8, 63u8, ], ) } @@ -30928,10 +30169,9 @@ pub mod api { "Funds", Vec::new(), [ - 231u8, 126u8, 89u8, 84u8, 167u8, 23u8, 211u8, 70u8, 203u8, - 124u8, 20u8, 162u8, 112u8, 38u8, 201u8, 207u8, 82u8, 202u8, - 80u8, 228u8, 4u8, 41u8, 95u8, 190u8, 193u8, 185u8, 178u8, - 85u8, 179u8, 102u8, 53u8, 63u8, + 231u8, 126u8, 89u8, 84u8, 167u8, 23u8, 211u8, 70u8, 203u8, 124u8, 20u8, + 162u8, 112u8, 38u8, 201u8, 207u8, 82u8, 202u8, 80u8, 228u8, 4u8, 41u8, + 95u8, 190u8, 193u8, 185u8, 178u8, 85u8, 179u8, 102u8, 53u8, 63u8, ], ) } @@ -30951,10 +30191,9 @@ pub mod api { "NewRaise", vec![], [ - 8u8, 180u8, 9u8, 197u8, 254u8, 198u8, 89u8, 112u8, 29u8, - 153u8, 243u8, 196u8, 92u8, 204u8, 135u8, 232u8, 93u8, 239u8, - 147u8, 103u8, 130u8, 28u8, 128u8, 124u8, 4u8, 236u8, 29u8, - 248u8, 27u8, 165u8, 111u8, 147u8, + 8u8, 180u8, 9u8, 197u8, 254u8, 198u8, 89u8, 112u8, 29u8, 153u8, 243u8, + 196u8, 92u8, 204u8, 135u8, 232u8, 93u8, 239u8, 147u8, 103u8, 130u8, + 28u8, 128u8, 124u8, 4u8, 236u8, 29u8, 248u8, 27u8, 165u8, 111u8, 147u8, ], ) } @@ -30973,10 +30212,10 @@ pub mod api { "EndingsCount", vec![], [ - 12u8, 159u8, 166u8, 75u8, 192u8, 33u8, 21u8, 244u8, 149u8, - 200u8, 49u8, 54u8, 191u8, 174u8, 202u8, 86u8, 76u8, 115u8, - 189u8, 35u8, 192u8, 175u8, 156u8, 188u8, 41u8, 23u8, 92u8, - 36u8, 141u8, 235u8, 248u8, 143u8, + 12u8, 159u8, 166u8, 75u8, 192u8, 33u8, 21u8, 244u8, 149u8, 200u8, 49u8, + 54u8, 191u8, 174u8, 202u8, 86u8, 76u8, 115u8, 189u8, 35u8, 192u8, + 175u8, 156u8, 188u8, 41u8, 23u8, 92u8, 36u8, 141u8, 235u8, 248u8, + 143u8, ], ) } @@ -30995,10 +30234,9 @@ pub mod api { "NextFundIndex", vec![], [ - 1u8, 215u8, 164u8, 194u8, 231u8, 34u8, 207u8, 19u8, 149u8, - 187u8, 3u8, 176u8, 194u8, 240u8, 180u8, 169u8, 214u8, 194u8, - 202u8, 240u8, 209u8, 6u8, 244u8, 46u8, 54u8, 142u8, 61u8, - 220u8, 240u8, 96u8, 10u8, 168u8, + 1u8, 215u8, 164u8, 194u8, 231u8, 34u8, 207u8, 19u8, 149u8, 187u8, 3u8, + 176u8, 194u8, 240u8, 180u8, 169u8, 214u8, 194u8, 202u8, 240u8, 209u8, + 6u8, 244u8, 46u8, 54u8, 142u8, 61u8, 220u8, 240u8, 96u8, 10u8, 168u8, ], ) } @@ -31017,10 +30255,9 @@ pub mod api { "Crowdloan", "PalletId", [ - 139u8, 109u8, 228u8, 151u8, 252u8, 32u8, 130u8, 69u8, 112u8, - 154u8, 174u8, 45u8, 83u8, 245u8, 51u8, 132u8, 173u8, 5u8, - 186u8, 24u8, 243u8, 9u8, 12u8, 214u8, 80u8, 74u8, 69u8, - 189u8, 30u8, 94u8, 22u8, 39u8, + 139u8, 109u8, 228u8, 151u8, 252u8, 32u8, 130u8, 69u8, 112u8, 154u8, + 174u8, 45u8, 83u8, 245u8, 51u8, 132u8, 173u8, 5u8, 186u8, 24u8, 243u8, + 9u8, 12u8, 214u8, 80u8, 74u8, 69u8, 189u8, 30u8, 94u8, 22u8, 39u8, ], ) } @@ -31028,16 +30265,14 @@ pub mod api { #[doc = " least `ExistentialDeposit`."] pub fn min_contribution( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> - { + ) -> ::subxt::constants::Address<::core::primitive::u128> { ::subxt::constants::Address::new_static( "Crowdloan", "MinContribution", [ - 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, - 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, - 101u8, 54u8, 210u8, 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, - 15u8, 178u8, 98u8, 148u8, 156u8, + 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, + 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, + 136u8, 71u8, 63u8, 49u8, 237u8, 234u8, 15u8, 178u8, 98u8, 148u8, 156u8, ], ) } @@ -31049,10 +30284,10 @@ pub mod api { "Crowdloan", "RemoveKeysLimit", [ - 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, - 157u8, 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, - 98u8, 68u8, 9u8, 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, - 90u8, 203u8, 100u8, 41u8, 145u8, + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, ], ) } @@ -31091,8 +30326,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct TeleportAssets { pub dest: ::std::boxed::Box, - pub beneficiary: - ::std::boxed::Box, + pub beneficiary: ::std::boxed::Box, pub assets: ::std::boxed::Box, pub fee_asset_item: ::core::primitive::u32, } @@ -31107,8 +30341,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ReserveTransferAssets { pub dest: ::std::boxed::Box, - pub beneficiary: - ::std::boxed::Box, + pub beneficiary: ::std::boxed::Box, pub assets: ::std::boxed::Box, pub fee_asset_item: ::core::primitive::u32, } @@ -31135,9 +30368,8 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceXcmVersion { - pub location: ::std::boxed::Box< - runtime_types::xcm::v1::multilocation::MultiLocation, - >, + pub location: + ::std::boxed::Box, pub xcm_version: ::core::primitive::u32, } #[derive( @@ -31162,8 +30394,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceSubscribeVersionNotify { - pub location: - ::std::boxed::Box, + pub location: ::std::boxed::Box, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -31175,8 +30406,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceUnsubscribeVersionNotify { - pub location: - ::std::boxed::Box, + pub location: ::std::boxed::Box, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -31189,8 +30419,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct LimitedReserveTransferAssets { pub dest: ::std::boxed::Box, - pub beneficiary: - ::std::boxed::Box, + pub beneficiary: ::std::boxed::Box, pub assets: ::std::boxed::Box, pub fee_asset_item: ::core::primitive::u32, pub weight_limit: runtime_types::xcm::v2::WeightLimit, @@ -31206,8 +30435,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct LimitedTeleportAssets { pub dest: ::std::boxed::Box, - pub beneficiary: - ::std::boxed::Box, + pub beneficiary: ::std::boxed::Box, pub assets: ::std::boxed::Box, pub fee_asset_item: ::core::primitive::u32, pub weight_limit: runtime_types::xcm::v2::WeightLimit, @@ -31227,10 +30455,9 @@ pub mod api { message: ::std::boxed::Box::new(message), }, [ - 190u8, 88u8, 197u8, 248u8, 111u8, 198u8, 199u8, 206u8, 39u8, - 121u8, 23u8, 121u8, 93u8, 82u8, 22u8, 61u8, 96u8, 210u8, - 142u8, 249u8, 195u8, 78u8, 44u8, 8u8, 118u8, 120u8, 113u8, - 168u8, 99u8, 94u8, 232u8, 4u8, + 190u8, 88u8, 197u8, 248u8, 111u8, 198u8, 199u8, 206u8, 39u8, 121u8, + 23u8, 121u8, 93u8, 82u8, 22u8, 61u8, 96u8, 210u8, 142u8, 249u8, 195u8, + 78u8, 44u8, 8u8, 118u8, 120u8, 113u8, 168u8, 99u8, 94u8, 232u8, 4u8, ], ) } @@ -31266,10 +30493,9 @@ pub mod api { fee_asset_item, }, [ - 255u8, 5u8, 68u8, 38u8, 44u8, 181u8, 75u8, 221u8, 239u8, - 103u8, 88u8, 47u8, 136u8, 90u8, 253u8, 55u8, 0u8, 122u8, - 217u8, 126u8, 13u8, 77u8, 209u8, 41u8, 7u8, 35u8, 235u8, - 171u8, 150u8, 235u8, 202u8, 240u8, + 255u8, 5u8, 68u8, 38u8, 44u8, 181u8, 75u8, 221u8, 239u8, 103u8, 88u8, + 47u8, 136u8, 90u8, 253u8, 55u8, 0u8, 122u8, 217u8, 126u8, 13u8, 77u8, + 209u8, 41u8, 7u8, 35u8, 235u8, 171u8, 150u8, 235u8, 202u8, 240u8, ], ) } @@ -31306,10 +30532,9 @@ pub mod api { fee_asset_item, }, [ - 177u8, 160u8, 188u8, 106u8, 153u8, 135u8, 121u8, 12u8, 83u8, - 233u8, 43u8, 161u8, 133u8, 26u8, 104u8, 79u8, 113u8, 8u8, - 33u8, 128u8, 82u8, 62u8, 30u8, 46u8, 203u8, 199u8, 175u8, - 193u8, 55u8, 130u8, 206u8, 28u8, + 177u8, 160u8, 188u8, 106u8, 153u8, 135u8, 121u8, 12u8, 83u8, 233u8, + 43u8, 161u8, 133u8, 26u8, 104u8, 79u8, 113u8, 8u8, 33u8, 128u8, 82u8, + 62u8, 30u8, 46u8, 203u8, 199u8, 175u8, 193u8, 55u8, 130u8, 206u8, 28u8, ], ) } @@ -31337,10 +30562,9 @@ pub mod api { max_weight, }, [ - 191u8, 177u8, 39u8, 21u8, 1u8, 110u8, 39u8, 58u8, 94u8, 27u8, - 44u8, 18u8, 253u8, 135u8, 100u8, 205u8, 0u8, 231u8, 68u8, - 247u8, 5u8, 140u8, 131u8, 184u8, 251u8, 197u8, 100u8, 113u8, - 253u8, 255u8, 120u8, 206u8, + 191u8, 177u8, 39u8, 21u8, 1u8, 110u8, 39u8, 58u8, 94u8, 27u8, 44u8, + 18u8, 253u8, 135u8, 100u8, 205u8, 0u8, 231u8, 68u8, 247u8, 5u8, 140u8, + 131u8, 184u8, 251u8, 197u8, 100u8, 113u8, 253u8, 255u8, 120u8, 206u8, ], ) } @@ -31363,10 +30587,9 @@ pub mod api { xcm_version, }, [ - 231u8, 106u8, 60u8, 226u8, 31u8, 25u8, 20u8, 115u8, 107u8, - 246u8, 248u8, 11u8, 71u8, 183u8, 93u8, 3u8, 219u8, 21u8, - 97u8, 188u8, 119u8, 121u8, 239u8, 72u8, 200u8, 81u8, 6u8, - 177u8, 111u8, 188u8, 168u8, 86u8, + 231u8, 106u8, 60u8, 226u8, 31u8, 25u8, 20u8, 115u8, 107u8, 246u8, + 248u8, 11u8, 71u8, 183u8, 93u8, 3u8, 219u8, 21u8, 97u8, 188u8, 119u8, + 121u8, 239u8, 72u8, 200u8, 81u8, 6u8, 177u8, 111u8, 188u8, 168u8, 86u8, ], ) } @@ -31384,10 +30607,9 @@ pub mod api { "force_default_xcm_version", ForceDefaultXcmVersion { maybe_xcm_version }, [ - 38u8, 36u8, 59u8, 231u8, 18u8, 79u8, 76u8, 9u8, 200u8, 125u8, - 214u8, 166u8, 37u8, 99u8, 111u8, 161u8, 135u8, 2u8, 133u8, - 157u8, 165u8, 18u8, 152u8, 81u8, 209u8, 255u8, 137u8, 237u8, - 28u8, 126u8, 224u8, 141u8, + 38u8, 36u8, 59u8, 231u8, 18u8, 79u8, 76u8, 9u8, 200u8, 125u8, 214u8, + 166u8, 37u8, 99u8, 111u8, 161u8, 135u8, 2u8, 133u8, 157u8, 165u8, 18u8, + 152u8, 81u8, 209u8, 255u8, 137u8, 237u8, 28u8, 126u8, 224u8, 141u8, ], ) } @@ -31406,10 +30628,10 @@ pub mod api { location: ::std::boxed::Box::new(location), }, [ - 136u8, 216u8, 207u8, 51u8, 42u8, 153u8, 92u8, 70u8, 140u8, - 169u8, 172u8, 89u8, 69u8, 28u8, 200u8, 100u8, 209u8, 226u8, - 194u8, 240u8, 71u8, 38u8, 18u8, 6u8, 6u8, 83u8, 103u8, 254u8, - 248u8, 241u8, 62u8, 189u8, + 136u8, 216u8, 207u8, 51u8, 42u8, 153u8, 92u8, 70u8, 140u8, 169u8, + 172u8, 89u8, 69u8, 28u8, 200u8, 100u8, 209u8, 226u8, 194u8, 240u8, + 71u8, 38u8, 18u8, 6u8, 6u8, 83u8, 103u8, 254u8, 248u8, 241u8, 62u8, + 189u8, ], ) } @@ -31430,10 +30652,9 @@ pub mod api { location: ::std::boxed::Box::new(location), }, [ - 51u8, 72u8, 5u8, 227u8, 251u8, 243u8, 199u8, 9u8, 8u8, 213u8, - 191u8, 52u8, 21u8, 215u8, 170u8, 6u8, 53u8, 242u8, 225u8, - 89u8, 150u8, 142u8, 104u8, 249u8, 225u8, 209u8, 142u8, 234u8, - 161u8, 100u8, 153u8, 120u8, + 51u8, 72u8, 5u8, 227u8, 251u8, 243u8, 199u8, 9u8, 8u8, 213u8, 191u8, + 52u8, 21u8, 215u8, 170u8, 6u8, 53u8, 242u8, 225u8, 89u8, 150u8, 142u8, + 104u8, 249u8, 225u8, 209u8, 142u8, 234u8, 161u8, 100u8, 153u8, 120u8, ], ) } @@ -31474,10 +30695,10 @@ pub mod api { weight_limit, }, [ - 191u8, 81u8, 68u8, 116u8, 196u8, 125u8, 226u8, 154u8, 144u8, - 126u8, 159u8, 149u8, 17u8, 124u8, 205u8, 60u8, 249u8, 106u8, - 38u8, 251u8, 136u8, 128u8, 81u8, 201u8, 164u8, 242u8, 216u8, - 80u8, 21u8, 234u8, 20u8, 70u8, + 191u8, 81u8, 68u8, 116u8, 196u8, 125u8, 226u8, 154u8, 144u8, 126u8, + 159u8, 149u8, 17u8, 124u8, 205u8, 60u8, 249u8, 106u8, 38u8, 251u8, + 136u8, 128u8, 81u8, 201u8, 164u8, 242u8, 216u8, 80u8, 21u8, 234u8, + 20u8, 70u8, ], ) } @@ -31517,10 +30738,10 @@ pub mod api { weight_limit, }, [ - 29u8, 31u8, 229u8, 83u8, 40u8, 60u8, 36u8, 185u8, 169u8, - 74u8, 30u8, 47u8, 118u8, 118u8, 22u8, 15u8, 246u8, 220u8, - 169u8, 135u8, 72u8, 154u8, 109u8, 192u8, 195u8, 58u8, 121u8, - 240u8, 166u8, 243u8, 29u8, 29u8, + 29u8, 31u8, 229u8, 83u8, 40u8, 60u8, 36u8, 185u8, 169u8, 74u8, 30u8, + 47u8, 118u8, 118u8, 22u8, 15u8, 246u8, 220u8, 169u8, 135u8, 72u8, + 154u8, 109u8, 192u8, 195u8, 58u8, 121u8, 240u8, 166u8, 243u8, 29u8, + 29u8, ], ) } @@ -31720,9 +30941,7 @@ pub mod api { pub struct InvalidResponder( pub runtime_types::xcm::v1::multilocation::MultiLocation, pub ::core::primitive::u64, - pub ::core::option::Option< - runtime_types::xcm::v1::multilocation::MultiLocation, - >, + pub ::core::option::Option, ); impl ::subxt::events::StaticEvent for InvalidResponder { const PALLET: &'static str = "XcmPallet"; @@ -31918,10 +31137,10 @@ pub mod api { "QueryCounter", vec![], [ - 137u8, 58u8, 184u8, 88u8, 247u8, 22u8, 151u8, 64u8, 50u8, - 77u8, 49u8, 10u8, 234u8, 84u8, 213u8, 156u8, 26u8, 200u8, - 214u8, 225u8, 125u8, 231u8, 42u8, 93u8, 159u8, 168u8, 86u8, - 201u8, 116u8, 153u8, 41u8, 127u8, + 137u8, 58u8, 184u8, 88u8, 247u8, 22u8, 151u8, 64u8, 50u8, 77u8, 49u8, + 10u8, 234u8, 84u8, 213u8, 156u8, 26u8, 200u8, 214u8, 225u8, 125u8, + 231u8, 42u8, 93u8, 159u8, 168u8, 86u8, 201u8, 116u8, 153u8, 41u8, + 127u8, ], ) } @@ -31931,9 +31150,7 @@ pub mod api { _0: impl ::std::borrow::Borrow<::core::primitive::u64>, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::pallet_xcm::pallet::QueryStatus< - ::core::primitive::u32, - >, + runtime_types::pallet_xcm::pallet::QueryStatus<::core::primitive::u32>, ::subxt::storage::address::Yes, (), ::subxt::storage::address::Yes, @@ -31941,14 +31158,14 @@ pub mod api { ::subxt::storage::address::Address::new_static( "XcmPallet", "Queries", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 251u8, 97u8, 131u8, 135u8, 93u8, 68u8, 156u8, 25u8, 181u8, - 231u8, 124u8, 93u8, 170u8, 114u8, 250u8, 177u8, 172u8, 51u8, - 59u8, 44u8, 148u8, 189u8, 199u8, 62u8, 118u8, 89u8, 75u8, - 29u8, 71u8, 49u8, 248u8, 48u8, + 251u8, 97u8, 131u8, 135u8, 93u8, 68u8, 156u8, 25u8, 181u8, 231u8, + 124u8, 93u8, 170u8, 114u8, 250u8, 177u8, 172u8, 51u8, 59u8, 44u8, + 148u8, 189u8, 199u8, 62u8, 118u8, 89u8, 75u8, 29u8, 71u8, 49u8, 248u8, + 48u8, ], ) } @@ -31957,9 +31174,7 @@ pub mod api { &self, ) -> ::subxt::storage::address::Address< ::subxt::storage::address::StaticStorageMapKey, - runtime_types::pallet_xcm::pallet::QueryStatus< - ::core::primitive::u32, - >, + runtime_types::pallet_xcm::pallet::QueryStatus<::core::primitive::u32>, (), (), ::subxt::storage::address::Yes, @@ -31969,10 +31184,10 @@ pub mod api { "Queries", Vec::new(), [ - 251u8, 97u8, 131u8, 135u8, 93u8, 68u8, 156u8, 25u8, 181u8, - 231u8, 124u8, 93u8, 170u8, 114u8, 250u8, 177u8, 172u8, 51u8, - 59u8, 44u8, 148u8, 189u8, 199u8, 62u8, 118u8, 89u8, 75u8, - 29u8, 71u8, 49u8, 248u8, 48u8, + 251u8, 97u8, 131u8, 135u8, 93u8, 68u8, 156u8, 25u8, 181u8, 231u8, + 124u8, 93u8, 170u8, 114u8, 250u8, 177u8, 172u8, 51u8, 59u8, 44u8, + 148u8, 189u8, 199u8, 62u8, 118u8, 89u8, 75u8, 29u8, 71u8, 49u8, 248u8, + 48u8, ], ) } @@ -31993,14 +31208,13 @@ pub mod api { ::subxt::storage::address::Address::new_static( "XcmPallet", "AssetTraps", - vec![::subxt::storage::address::StaticStorageMapKey::new( + vec![::subxt::storage::address::make_static_storage_map_key( _0.borrow(), )], [ - 4u8, 185u8, 92u8, 4u8, 7u8, 71u8, 214u8, 1u8, 141u8, 59u8, - 87u8, 55u8, 149u8, 26u8, 125u8, 8u8, 88u8, 31u8, 240u8, - 138u8, 133u8, 28u8, 37u8, 131u8, 107u8, 218u8, 86u8, 152u8, - 147u8, 44u8, 19u8, 239u8, + 4u8, 185u8, 92u8, 4u8, 7u8, 71u8, 214u8, 1u8, 141u8, 59u8, 87u8, 55u8, + 149u8, 26u8, 125u8, 8u8, 88u8, 31u8, 240u8, 138u8, 133u8, 28u8, 37u8, + 131u8, 107u8, 218u8, 86u8, 152u8, 147u8, 44u8, 19u8, 239u8, ], ) } @@ -32022,10 +31236,9 @@ pub mod api { "AssetTraps", Vec::new(), [ - 4u8, 185u8, 92u8, 4u8, 7u8, 71u8, 214u8, 1u8, 141u8, 59u8, - 87u8, 55u8, 149u8, 26u8, 125u8, 8u8, 88u8, 31u8, 240u8, - 138u8, 133u8, 28u8, 37u8, 131u8, 107u8, 218u8, 86u8, 152u8, - 147u8, 44u8, 19u8, 239u8, + 4u8, 185u8, 92u8, 4u8, 7u8, 71u8, 214u8, 1u8, 141u8, 59u8, 87u8, 55u8, + 149u8, 26u8, 125u8, 8u8, 88u8, 31u8, 240u8, 138u8, 133u8, 28u8, 37u8, + 131u8, 107u8, 218u8, 86u8, 152u8, 147u8, 44u8, 19u8, 239u8, ], ) } @@ -32045,10 +31258,10 @@ pub mod api { "SafeXcmVersion", vec![], [ - 1u8, 223u8, 218u8, 204u8, 222u8, 129u8, 137u8, 237u8, 197u8, - 142u8, 233u8, 66u8, 229u8, 153u8, 138u8, 222u8, 113u8, 164u8, - 135u8, 213u8, 233u8, 34u8, 24u8, 23u8, 215u8, 59u8, 40u8, - 188u8, 45u8, 244u8, 205u8, 199u8, + 1u8, 223u8, 218u8, 204u8, 222u8, 129u8, 137u8, 237u8, 197u8, 142u8, + 233u8, 66u8, 229u8, 153u8, 138u8, 222u8, 113u8, 164u8, 135u8, 213u8, + 233u8, 34u8, 24u8, 23u8, 215u8, 59u8, 40u8, 188u8, 45u8, 244u8, 205u8, + 199u8, ], ) } @@ -32068,18 +31281,13 @@ pub mod api { "XcmPallet", "SupportedVersion", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 112u8, 34u8, 251u8, 179u8, 217u8, 54u8, 125u8, 242u8, 190u8, - 8u8, 44u8, 14u8, 138u8, 76u8, 241u8, 95u8, 233u8, 96u8, - 141u8, 26u8, 151u8, 196u8, 219u8, 137u8, 165u8, 27u8, 87u8, - 128u8, 19u8, 35u8, 222u8, 202u8, + 112u8, 34u8, 251u8, 179u8, 217u8, 54u8, 125u8, 242u8, 190u8, 8u8, 44u8, + 14u8, 138u8, 76u8, 241u8, 95u8, 233u8, 96u8, 141u8, 26u8, 151u8, 196u8, + 219u8, 137u8, 165u8, 27u8, 87u8, 128u8, 19u8, 35u8, 222u8, 202u8, ], ) } @@ -32098,10 +31306,9 @@ pub mod api { "SupportedVersion", Vec::new(), [ - 112u8, 34u8, 251u8, 179u8, 217u8, 54u8, 125u8, 242u8, 190u8, - 8u8, 44u8, 14u8, 138u8, 76u8, 241u8, 95u8, 233u8, 96u8, - 141u8, 26u8, 151u8, 196u8, 219u8, 137u8, 165u8, 27u8, 87u8, - 128u8, 19u8, 35u8, 222u8, 202u8, + 112u8, 34u8, 251u8, 179u8, 217u8, 54u8, 125u8, 242u8, 190u8, 8u8, 44u8, + 14u8, 138u8, 76u8, 241u8, 95u8, 233u8, 96u8, 141u8, 26u8, 151u8, 196u8, + 219u8, 137u8, 165u8, 27u8, 87u8, 128u8, 19u8, 35u8, 222u8, 202u8, ], ) } @@ -32121,18 +31328,14 @@ pub mod api { "XcmPallet", "VersionNotifiers", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 233u8, 217u8, 119u8, 102u8, 41u8, 77u8, 198u8, 24u8, 161u8, - 22u8, 104u8, 149u8, 204u8, 128u8, 123u8, 166u8, 17u8, 36u8, - 202u8, 92u8, 190u8, 44u8, 73u8, 239u8, 88u8, 17u8, 92u8, - 41u8, 236u8, 80u8, 154u8, 10u8, + 233u8, 217u8, 119u8, 102u8, 41u8, 77u8, 198u8, 24u8, 161u8, 22u8, + 104u8, 149u8, 204u8, 128u8, 123u8, 166u8, 17u8, 36u8, 202u8, 92u8, + 190u8, 44u8, 73u8, 239u8, 88u8, 17u8, 92u8, 41u8, 236u8, 80u8, 154u8, + 10u8, ], ) } @@ -32151,10 +31354,10 @@ pub mod api { "VersionNotifiers", Vec::new(), [ - 233u8, 217u8, 119u8, 102u8, 41u8, 77u8, 198u8, 24u8, 161u8, - 22u8, 104u8, 149u8, 204u8, 128u8, 123u8, 166u8, 17u8, 36u8, - 202u8, 92u8, 190u8, 44u8, 73u8, 239u8, 88u8, 17u8, 92u8, - 41u8, 236u8, 80u8, 154u8, 10u8, + 233u8, 217u8, 119u8, 102u8, 41u8, 77u8, 198u8, 24u8, 161u8, 22u8, + 104u8, 149u8, 204u8, 128u8, 123u8, 166u8, 17u8, 36u8, 202u8, 92u8, + 190u8, 44u8, 73u8, 239u8, 88u8, 17u8, 92u8, 41u8, 236u8, 80u8, 154u8, + 10u8, ], ) } @@ -32179,18 +31382,13 @@ pub mod api { "XcmPallet", "VersionNotifyTargets", vec![ - ::subxt::storage::address::StaticStorageMapKey::new( - _0.borrow(), - ), - ::subxt::storage::address::StaticStorageMapKey::new( - _1.borrow(), - ), + ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), + ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), ], [ - 108u8, 104u8, 137u8, 191u8, 2u8, 2u8, 240u8, 174u8, 32u8, - 174u8, 150u8, 136u8, 33u8, 84u8, 30u8, 74u8, 95u8, 94u8, - 20u8, 112u8, 101u8, 204u8, 15u8, 47u8, 136u8, 56u8, 40u8, - 66u8, 1u8, 42u8, 16u8, 247u8, + 108u8, 104u8, 137u8, 191u8, 2u8, 2u8, 240u8, 174u8, 32u8, 174u8, 150u8, + 136u8, 33u8, 84u8, 30u8, 74u8, 95u8, 94u8, 20u8, 112u8, 101u8, 204u8, + 15u8, 47u8, 136u8, 56u8, 40u8, 66u8, 1u8, 42u8, 16u8, 247u8, ], ) } @@ -32214,10 +31412,9 @@ pub mod api { "VersionNotifyTargets", Vec::new(), [ - 108u8, 104u8, 137u8, 191u8, 2u8, 2u8, 240u8, 174u8, 32u8, - 174u8, 150u8, 136u8, 33u8, 84u8, 30u8, 74u8, 95u8, 94u8, - 20u8, 112u8, 101u8, 204u8, 15u8, 47u8, 136u8, 56u8, 40u8, - 66u8, 1u8, 42u8, 16u8, 247u8, + 108u8, 104u8, 137u8, 191u8, 2u8, 2u8, 240u8, 174u8, 32u8, 174u8, 150u8, + 136u8, 33u8, 84u8, 30u8, 74u8, 95u8, 94u8, 20u8, 112u8, 101u8, 204u8, + 15u8, 47u8, 136u8, 56u8, 40u8, 66u8, 1u8, 42u8, 16u8, 247u8, ], ) } @@ -32241,10 +31438,10 @@ pub mod api { "VersionDiscoveryQueue", vec![], [ - 30u8, 163u8, 210u8, 133u8, 30u8, 63u8, 36u8, 9u8, 162u8, - 133u8, 99u8, 170u8, 34u8, 205u8, 27u8, 41u8, 226u8, 141u8, - 165u8, 151u8, 46u8, 140u8, 150u8, 242u8, 178u8, 88u8, 164u8, - 12u8, 129u8, 118u8, 25u8, 79u8, + 30u8, 163u8, 210u8, 133u8, 30u8, 63u8, 36u8, 9u8, 162u8, 133u8, 99u8, + 170u8, 34u8, 205u8, 27u8, 41u8, 226u8, 141u8, 165u8, 151u8, 46u8, + 140u8, 150u8, 242u8, 178u8, 88u8, 164u8, 12u8, 129u8, 118u8, 25u8, + 79u8, ], ) } @@ -32263,10 +31460,9 @@ pub mod api { "CurrentMigration", vec![], [ - 137u8, 144u8, 168u8, 185u8, 158u8, 90u8, 127u8, 243u8, 227u8, - 134u8, 150u8, 73u8, 15u8, 99u8, 23u8, 47u8, 68u8, 18u8, 39u8, - 16u8, 24u8, 43u8, 161u8, 56u8, 66u8, 111u8, 16u8, 7u8, 252u8, - 125u8, 100u8, 225u8, + 137u8, 144u8, 168u8, 185u8, 158u8, 90u8, 127u8, 243u8, 227u8, 134u8, + 150u8, 73u8, 15u8, 99u8, 23u8, 47u8, 68u8, 18u8, 39u8, 16u8, 24u8, + 43u8, 161u8, 56u8, 66u8, 111u8, 16u8, 7u8, 252u8, 125u8, 100u8, 225u8, ], ) } @@ -32510,9 +31706,7 @@ pub mod api { )] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct CheckMortality( - pub runtime_types::sp_runtime::generic::era::Era, - ); + pub struct CheckMortality(pub runtime_types::sp_runtime::generic::era::Era); } pub mod check_non_zero_sender { use super::runtime_types; @@ -32608,10 +31802,9 @@ pub mod api { pub struct BlockWeights { pub base_block: runtime_types::sp_weights::weight_v2::Weight, pub max_block: runtime_types::sp_weights::weight_v2::Weight, - pub per_class: - runtime_types::frame_support::dispatch::PerDispatchClass< - runtime_types::frame_system::limits::WeightsPerClass, - >, + pub per_class: runtime_types::frame_support::dispatch::PerDispatchClass< + runtime_types::frame_system::limits::WeightsPerClass, + >, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -32624,15 +31817,12 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct WeightsPerClass { pub base_extrinsic: runtime_types::sp_weights::weight_v2::Weight, - pub max_extrinsic: ::core::option::Option< - runtime_types::sp_weights::weight_v2::Weight, - >, - pub max_total: ::core::option::Option< - runtime_types::sp_weights::weight_v2::Weight, - >, - pub reserved: ::core::option::Option< - runtime_types::sp_weights::weight_v2::Weight, - >, + pub max_extrinsic: + ::core::option::Option, + pub max_total: + ::core::option::Option, + pub reserved: + ::core::option::Option, } } pub mod pallet { @@ -32770,15 +31960,13 @@ pub mod api { #[codec(index = 0)] #[doc = "An extrinsic completed successfully."] ExtrinsicSuccess { - dispatch_info: - runtime_types::frame_support::dispatch::DispatchInfo, + dispatch_info: runtime_types::frame_support::dispatch::DispatchInfo, }, #[codec(index = 1)] #[doc = "An extrinsic failed."] ExtrinsicFailed { dispatch_error: runtime_types::sp_runtime::DispatchError, - dispatch_info: - runtime_types::frame_support::dispatch::DispatchInfo, + dispatch_info: runtime_types::frame_support::dispatch::DispatchInfo, }, #[codec(index = 2)] #[doc = "`:code` was updated."] @@ -32954,7 +32142,53 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub enum Call { - # [codec (index = 0)] # [doc = "Report authority equivocation/misbehavior. This method will verify"] # [doc = "the equivocation proof and validate the given key ownership proof"] # [doc = "against the extracted offender. If both are valid, the offence will"] # [doc = "be reported."] report_equivocation { equivocation_proof : :: std :: boxed :: Box < runtime_types :: sp_consensus_slots :: EquivocationProof < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u32 , runtime_types :: sp_runtime :: traits :: BlakeTwo256 > , runtime_types :: sp_consensus_babe :: app :: Public > > , key_owner_proof : runtime_types :: sp_session :: MembershipProof , } , # [codec (index = 1)] # [doc = "Report authority equivocation/misbehavior. This method will verify"] # [doc = "the equivocation proof and validate the given key ownership proof"] # [doc = "against the extracted offender. If both are valid, the offence will"] # [doc = "be reported."] # [doc = "This extrinsic must be called unsigned and it is expected that only"] # [doc = "block authors will call it (validated in `ValidateUnsigned`), as such"] # [doc = "if the block author is defined it will be defined as the equivocation"] # [doc = "reporter."] report_equivocation_unsigned { equivocation_proof : :: std :: boxed :: Box < runtime_types :: sp_consensus_slots :: EquivocationProof < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u32 , runtime_types :: sp_runtime :: traits :: BlakeTwo256 > , runtime_types :: sp_consensus_babe :: app :: Public > > , key_owner_proof : runtime_types :: sp_session :: MembershipProof , } , # [codec (index = 2)] # [doc = "Plan an epoch config change. The epoch config change is recorded and will be enacted on"] # [doc = "the next call to `enact_epoch_change`. The config will be activated one epoch after."] # [doc = "Multiple calls to this method will replace any existing planned config change that had"] # [doc = "not been enacted yet."] plan_config_change { config : runtime_types :: sp_consensus_babe :: digests :: NextConfigDescriptor , } , } + #[codec(index = 0)] + #[doc = "Report authority equivocation/misbehavior. This method will verify"] + #[doc = "the equivocation proof and validate the given key ownership proof"] + #[doc = "against the extracted offender. If both are valid, the offence will"] + #[doc = "be reported."] + report_equivocation { + equivocation_proof: ::std::boxed::Box< + runtime_types::sp_consensus_slots::EquivocationProof< + runtime_types::sp_runtime::generic::header::Header< + ::core::primitive::u32, + runtime_types::sp_runtime::traits::BlakeTwo256, + >, + runtime_types::sp_consensus_babe::app::Public, + >, + >, + key_owner_proof: runtime_types::sp_session::MembershipProof, + }, + #[codec(index = 1)] + #[doc = "Report authority equivocation/misbehavior. This method will verify"] + #[doc = "the equivocation proof and validate the given key ownership proof"] + #[doc = "against the extracted offender. If both are valid, the offence will"] + #[doc = "be reported."] + #[doc = "This extrinsic must be called unsigned and it is expected that only"] + #[doc = "block authors will call it (validated in `ValidateUnsigned`), as such"] + #[doc = "if the block author is defined it will be defined as the equivocation"] + #[doc = "reporter."] + report_equivocation_unsigned { + equivocation_proof: ::std::boxed::Box< + runtime_types::sp_consensus_slots::EquivocationProof< + runtime_types::sp_runtime::generic::header::Header< + ::core::primitive::u32, + runtime_types::sp_runtime::traits::BlakeTwo256, + >, + runtime_types::sp_consensus_babe::app::Public, + >, + >, + key_owner_proof: runtime_types::sp_session::MembershipProof, + }, + #[codec(index = 2)] + #[doc = "Plan an epoch config change. The epoch config change is recorded and will be enacted on"] + #[doc = "the next call to `enact_epoch_change`. The config will be activated one epoch after."] + #[doc = "Multiple calls to this method will replace any existing planned config change that had"] + #[doc = "not been enacted yet."] + plan_config_change { + config: runtime_types::sp_consensus_babe::digests::NextConfigDescriptor, + }, + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -33059,8 +32293,7 @@ pub mod api { #[doc = ""] #[doc = "If `dislocated` does not exists, it returns an error."] rebag { - dislocated: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + dislocated: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 1)] #[doc = "Move the caller's Id directly in front of `lighter`."] @@ -33072,8 +32305,7 @@ pub mod api { #[doc = "- both nodes are within the same bag,"] #[doc = "- and `origin` has a greater `Score` than `lighter`."] put_in_front_of { - lighter: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + lighter: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, } #[derive( @@ -33160,8 +32392,7 @@ pub mod api { #[doc = "- Origin account is already in memory, so no DB operations for them."] #[doc = "# "] transfer { - dest: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] value: ::core::primitive::u128, }, @@ -33175,8 +32406,7 @@ pub mod api { #[doc = ""] #[doc = "The dispatch origin for this call is `root`."] set_balance { - who: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] new_free: ::core::primitive::u128, #[codec(compact)] @@ -33190,10 +32420,8 @@ pub mod api { #[doc = " assumed to be in the overlay."] #[doc = "# "] force_transfer { - source: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - dest: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + source: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] value: ::core::primitive::u128, }, @@ -33205,8 +32433,7 @@ pub mod api { #[doc = ""] #[doc = "[`transfer`]: struct.Pallet.html#method.transfer"] transfer_keep_alive { - dest: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] value: ::core::primitive::u128, }, @@ -33229,8 +32456,7 @@ pub mod api { #[doc = "- O(1). Just like transfer, but reading the user's transferable balance first."] #[doc = " #"] transfer_all { - dest: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, keep_alive: ::core::primitive::bool, }, #[codec(index = 5)] @@ -33238,8 +32464,7 @@ pub mod api { #[doc = ""] #[doc = "Can only be called by ROOT."] force_unreserve { - who: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, amount: ::core::primitive::u128, }, } @@ -33290,7 +32515,74 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] pub enum Event { - # [codec (index = 0)] # [doc = "An account was created with some free balance."] Endowed { account : :: subxt :: utils :: AccountId32 , free_balance : :: core :: primitive :: u128 , } , # [codec (index = 1)] # [doc = "An account was removed whose balance was non-zero but below ExistentialDeposit,"] # [doc = "resulting in an outright loss."] DustLost { account : :: subxt :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , } , # [codec (index = 2)] # [doc = "Transfer succeeded."] Transfer { from : :: subxt :: utils :: AccountId32 , to : :: subxt :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , } , # [codec (index = 3)] # [doc = "A balance was set by root."] BalanceSet { who : :: subxt :: utils :: AccountId32 , free : :: core :: primitive :: u128 , reserved : :: core :: primitive :: u128 , } , # [codec (index = 4)] # [doc = "Some balance was reserved (moved from free to reserved)."] Reserved { who : :: subxt :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "Some balance was unreserved (moved from reserved to free)."] Unreserved { who : :: subxt :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , } , # [codec (index = 6)] # [doc = "Some balance was moved from the reserve of the first account to the second account."] # [doc = "Final argument indicates the destination balance type."] ReserveRepatriated { from : :: subxt :: utils :: AccountId32 , to : :: subxt :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , destination_status : runtime_types :: frame_support :: traits :: tokens :: misc :: BalanceStatus , } , # [codec (index = 7)] # [doc = "Some amount was deposited (e.g. for transaction fees)."] Deposit { who : :: subxt :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , } , # [codec (index = 8)] # [doc = "Some amount was withdrawn from the account (e.g. for transaction fees)."] Withdraw { who : :: subxt :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , } , # [codec (index = 9)] # [doc = "Some amount was removed from the account (e.g. for misbehavior)."] Slashed { who : :: subxt :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , } , } + #[codec(index = 0)] + #[doc = "An account was created with some free balance."] + Endowed { + account: ::subxt::utils::AccountId32, + free_balance: ::core::primitive::u128, + }, + #[codec(index = 1)] + #[doc = "An account was removed whose balance was non-zero but below ExistentialDeposit,"] + #[doc = "resulting in an outright loss."] + DustLost { + account: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 2)] + #[doc = "Transfer succeeded."] + Transfer { + from: ::subxt::utils::AccountId32, + to: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 3)] + #[doc = "A balance was set by root."] + BalanceSet { + who: ::subxt::utils::AccountId32, + free: ::core::primitive::u128, + reserved: ::core::primitive::u128, + }, + #[codec(index = 4)] + #[doc = "Some balance was reserved (moved from free to reserved)."] + Reserved { + who: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 5)] + #[doc = "Some balance was unreserved (moved from reserved to free)."] + Unreserved { + who: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 6)] + #[doc = "Some balance was moved from the reserve of the first account to the second account."] + #[doc = "Final argument indicates the destination balance type."] + ReserveRepatriated { + from: ::subxt::utils::AccountId32, + to: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + destination_status: + runtime_types::frame_support::traits::tokens::misc::BalanceStatus, + }, + #[codec(index = 7)] + #[doc = "Some amount was deposited (e.g. for transaction fees)."] + Deposit { + who: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 8)] + #[doc = "Some amount was withdrawn from the account (e.g. for transaction fees)."] + Withdraw { + who: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 9)] + #[doc = "Some amount was removed from the account (e.g. for misbehavior)."] + Slashed { + who: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, + } } #[derive( :: subxt :: ext :: codec :: Decode, @@ -33424,8 +32716,7 @@ pub mod api { propose_curator { #[codec(compact)] bounty_id: ::core::primitive::u32, - curator: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + curator: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] fee: ::core::primitive::u128, }, @@ -33480,8 +32771,7 @@ pub mod api { award_bounty { #[codec(compact)] bounty_id: ::core::primitive::u32, - beneficiary: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 6)] #[doc = "Claim the payout from an awarded bounty after payout delay."] @@ -33727,8 +33017,7 @@ pub mod api { parent_bounty_id: ::core::primitive::u32, #[codec(compact)] child_bounty_id: ::core::primitive::u32, - curator: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + curator: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] fee: ::core::primitive::u128, }, @@ -33822,8 +33111,7 @@ pub mod api { parent_bounty_id: ::core::primitive::u32, #[codec(compact)] child_bounty_id: ::core::primitive::u32, - beneficiary: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 5)] #[doc = "Claim the payout from an awarded child-bounty after payout delay."] @@ -33953,8 +33241,7 @@ pub mod api { pub value: _1, pub fee: _1, pub curator_deposit: _1, - pub status: - runtime_types::pallet_child_bounties::ChildBountyStatus<_0, _2>, + pub status: runtime_types::pallet_child_bounties::ChildBountyStatus<_0, _2>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -34046,9 +33333,7 @@ pub mod api { #[doc = "- 1 event"] #[doc = "# "] execute { - proposal: ::std::boxed::Box< - runtime_types::polkadot_runtime::RuntimeCall, - >, + proposal: ::std::boxed::Box, #[codec(compact)] length_bound: ::core::primitive::u32, }, @@ -34083,9 +33368,7 @@ pub mod api { propose { #[codec(compact)] threshold: ::core::primitive::u32, - proposal: ::std::boxed::Box< - runtime_types::polkadot_runtime::RuntimeCall, - >, + proposal: ::std::boxed::Box, #[codec(compact)] length_bound: ::core::primitive::u32, }, @@ -34206,8 +33489,7 @@ pub mod api { proposal_hash: ::subxt::utils::H256, #[codec(compact)] index: ::core::primitive::u32, - proposal_weight_bound: - runtime_types::sp_weights::weight_v2::Weight, + proposal_weight_bound: runtime_types::sp_weights::weight_v2::Weight, #[codec(compact)] length_bound: ::core::primitive::u32, }, @@ -34294,19 +33576,15 @@ pub mod api { #[doc = "A motion was executed; result will be `Ok` if it returned without error."] Executed { proposal_hash: ::subxt::utils::H256, - result: ::core::result::Result< - (), - runtime_types::sp_runtime::DispatchError, - >, + result: + ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, #[codec(index = 5)] #[doc = "A single member did some action; result will be `Ok` if it returned without error."] MemberExecuted { proposal_hash: ::subxt::utils::H256, - result: ::core::result::Result< - (), - runtime_types::sp_runtime::DispatchError, - >, + result: + ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, #[codec(index = 6)] #[doc = "A proposal was closed because its threshold was reached or after its duration was up."] @@ -34405,10 +33683,9 @@ pub mod api { #[doc = ""] #[doc = "Emits `Proposed`."] propose { - proposal: - runtime_types::frame_support::traits::preimages::Bounded< - runtime_types::polkadot_runtime::RuntimeCall, - >, + proposal: runtime_types::frame_support::traits::preimages::Bounded< + runtime_types::polkadot_runtime::RuntimeCall, + >, #[codec(compact)] value: ::core::primitive::u128, }, @@ -34456,10 +33733,9 @@ pub mod api { #[doc = ""] #[doc = "- `proposal_hash`: The preimage hash of the proposal."] external_propose { - proposal: - runtime_types::frame_support::traits::preimages::Bounded< - runtime_types::polkadot_runtime::RuntimeCall, - >, + proposal: runtime_types::frame_support::traits::preimages::Bounded< + runtime_types::polkadot_runtime::RuntimeCall, + >, }, #[codec(index = 5)] #[doc = "Schedule a majority-carries referendum to be tabled next once it is legal to schedule"] @@ -34474,10 +33750,9 @@ pub mod api { #[doc = ""] #[doc = "Weight: `O(1)`"] external_propose_majority { - proposal: - runtime_types::frame_support::traits::preimages::Bounded< - runtime_types::polkadot_runtime::RuntimeCall, - >, + proposal: runtime_types::frame_support::traits::preimages::Bounded< + runtime_types::polkadot_runtime::RuntimeCall, + >, }, #[codec(index = 6)] #[doc = "Schedule a negative-turnout-bias referendum to be tabled next once it is legal to"] @@ -34492,10 +33767,9 @@ pub mod api { #[doc = ""] #[doc = "Weight: `O(1)`"] external_propose_default { - proposal: - runtime_types::frame_support::traits::preimages::Bounded< - runtime_types::polkadot_runtime::RuntimeCall, - >, + proposal: runtime_types::frame_support::traits::preimages::Bounded< + runtime_types::polkadot_runtime::RuntimeCall, + >, }, #[codec(index = 7)] #[doc = "Schedule the currently externally-proposed majority-carries referendum to be tabled"] @@ -34565,8 +33839,7 @@ pub mod api { #[doc = " voted on. Weight is charged as if maximum votes."] delegate { to: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - conviction: - runtime_types::pallet_democracy::conviction::Conviction, + conviction: runtime_types::pallet_democracy::conviction::Conviction, balance: ::core::primitive::u128, }, #[codec(index = 11)] @@ -34599,8 +33872,7 @@ pub mod api { #[doc = ""] #[doc = "Weight: `O(R)` with R number of vote of target."] unlock { - target: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 14)] #[doc = "Remove a vote for a referendum."] @@ -34648,8 +33920,7 @@ pub mod api { #[doc = "Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on."] #[doc = " Weight is calculated for the maximum number of vote."] remove_other_vote { - target: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, index: ::core::primitive::u32, }, #[codec(index = 16)] @@ -34778,7 +34049,76 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] pub enum Event { - # [codec (index = 0)] # [doc = "A motion has been proposed by a public account."] Proposed { proposal_index : :: core :: primitive :: u32 , deposit : :: core :: primitive :: u128 , } , # [codec (index = 1)] # [doc = "A public proposal has been tabled for referendum vote."] Tabled { proposal_index : :: core :: primitive :: u32 , deposit : :: core :: primitive :: u128 , } , # [codec (index = 2)] # [doc = "An external proposal has been tabled."] ExternalTabled , # [codec (index = 3)] # [doc = "A referendum has begun."] Started { ref_index : :: core :: primitive :: u32 , threshold : runtime_types :: pallet_democracy :: vote_threshold :: VoteThreshold , } , # [codec (index = 4)] # [doc = "A proposal has been approved by referendum."] Passed { ref_index : :: core :: primitive :: u32 , } , # [codec (index = 5)] # [doc = "A proposal has been rejected by referendum."] NotPassed { ref_index : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "A referendum has been cancelled."] Cancelled { ref_index : :: core :: primitive :: u32 , } , # [codec (index = 7)] # [doc = "An account has delegated their vote to another account."] Delegated { who : :: subxt :: utils :: AccountId32 , target : :: subxt :: utils :: AccountId32 , } , # [codec (index = 8)] # [doc = "An account has cancelled a previous delegation operation."] Undelegated { account : :: subxt :: utils :: AccountId32 , } , # [codec (index = 9)] # [doc = "An external proposal has been vetoed."] Vetoed { who : :: subxt :: utils :: AccountId32 , proposal_hash : :: subxt :: utils :: H256 , until : :: core :: primitive :: u32 , } , # [codec (index = 10)] # [doc = "A proposal_hash has been blacklisted permanently."] Blacklisted { proposal_hash : :: subxt :: utils :: H256 , } , # [codec (index = 11)] # [doc = "An account has voted in a referendum"] Voted { voter : :: subxt :: utils :: AccountId32 , ref_index : :: core :: primitive :: u32 , vote : runtime_types :: pallet_democracy :: vote :: AccountVote < :: core :: primitive :: u128 > , } , # [codec (index = 12)] # [doc = "An account has secconded a proposal"] Seconded { seconder : :: subxt :: utils :: AccountId32 , prop_index : :: core :: primitive :: u32 , } , # [codec (index = 13)] # [doc = "A proposal got canceled."] ProposalCanceled { prop_index : :: core :: primitive :: u32 , } , } + #[codec(index = 0)] + #[doc = "A motion has been proposed by a public account."] + Proposed { + proposal_index: ::core::primitive::u32, + deposit: ::core::primitive::u128, + }, + #[codec(index = 1)] + #[doc = "A public proposal has been tabled for referendum vote."] + Tabled { + proposal_index: ::core::primitive::u32, + deposit: ::core::primitive::u128, + }, + #[codec(index = 2)] + #[doc = "An external proposal has been tabled."] + ExternalTabled, + #[codec(index = 3)] + #[doc = "A referendum has begun."] + Started { + ref_index: ::core::primitive::u32, + threshold: runtime_types::pallet_democracy::vote_threshold::VoteThreshold, + }, + #[codec(index = 4)] + #[doc = "A proposal has been approved by referendum."] + Passed { ref_index: ::core::primitive::u32 }, + #[codec(index = 5)] + #[doc = "A proposal has been rejected by referendum."] + NotPassed { ref_index: ::core::primitive::u32 }, + #[codec(index = 6)] + #[doc = "A referendum has been cancelled."] + Cancelled { ref_index: ::core::primitive::u32 }, + #[codec(index = 7)] + #[doc = "An account has delegated their vote to another account."] + Delegated { + who: ::subxt::utils::AccountId32, + target: ::subxt::utils::AccountId32, + }, + #[codec(index = 8)] + #[doc = "An account has cancelled a previous delegation operation."] + Undelegated { + account: ::subxt::utils::AccountId32, + }, + #[codec(index = 9)] + #[doc = "An external proposal has been vetoed."] + Vetoed { + who: ::subxt::utils::AccountId32, + proposal_hash: ::subxt::utils::H256, + until: ::core::primitive::u32, + }, + #[codec(index = 10)] + #[doc = "A proposal_hash has been blacklisted permanently."] + Blacklisted { proposal_hash: ::subxt::utils::H256 }, + #[codec(index = 11)] + #[doc = "An account has voted in a referendum"] + Voted { + voter: ::subxt::utils::AccountId32, + ref_index: ::core::primitive::u32, + vote: runtime_types::pallet_democracy::vote::AccountVote< + ::core::primitive::u128, + >, + }, + #[codec(index = 12)] + #[doc = "An account has secconded a proposal"] + Seconded { + seconder: ::subxt::utils::AccountId32, + prop_index: ::core::primitive::u32, + }, + #[codec(index = 13)] + #[doc = "A proposal got canceled."] + ProposalCanceled { prop_index: ::core::primitive::u32 }, + } } pub mod types { use super::runtime_types; @@ -34806,13 +34146,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum ReferendumInfo<_0, _1, _2> { #[codec(index = 0)] - Ongoing( - runtime_types::pallet_democracy::types::ReferendumStatus< - _0, - _1, - _2, - >, - ), + Ongoing(runtime_types::pallet_democracy::types::ReferendumStatus<_0, _1, _2>), #[codec(index = 1)] Finished { approved: ::core::primitive::bool, @@ -34831,8 +34165,7 @@ pub mod api { pub struct ReferendumStatus<_0, _1, _2> { pub end: _0, pub proposal: _1, - pub threshold: - runtime_types::pallet_democracy::vote_threshold::VoteThreshold, + pub threshold: runtime_types::pallet_democracy::vote_threshold::VoteThreshold, pub delay: _0, pub tally: runtime_types::pallet_democracy::types::Tally<_2>, } @@ -34904,21 +34237,19 @@ pub mod api { pub enum Voting<_0, _1, _2> { #[codec(index = 0)] Direct { - votes: runtime_types::sp_core::bounded::bounded_vec::BoundedVec< - (_2, runtime_types::pallet_democracy::vote::AccountVote<_0>), - >, - delegations: - runtime_types::pallet_democracy::types::Delegations<_0>, + votes: runtime_types::sp_core::bounded::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>, + conviction: runtime_types::pallet_democracy::conviction::Conviction, + delegations: runtime_types::pallet_democracy::types::Delegations<_0>, prior: runtime_types::pallet_democracy::vote::PriorLock<_2, _0>, }, } @@ -35025,7 +34356,49 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] pub enum Event { - # [codec (index = 0)] # [doc = "A solution was stored with the given compute."] # [doc = ""] # [doc = "If the solution is signed, this means that it hasn't yet been processed. If the"] # [doc = "solution is unsigned, this means that it has also been processed."] # [doc = ""] # [doc = "The `bool` is `true` when a previous solution was ejected to make room for this one."] SolutionStored { compute : runtime_types :: pallet_election_provider_multi_phase :: ElectionCompute , prev_ejected : :: core :: primitive :: bool , } , # [codec (index = 1)] # [doc = "The election has been finalized, with the given computation and score."] ElectionFinalized { compute : runtime_types :: pallet_election_provider_multi_phase :: ElectionCompute , score : runtime_types :: sp_npos_elections :: ElectionScore , } , # [codec (index = 2)] # [doc = "An election failed."] # [doc = ""] # [doc = "Not much can be said about which computes failed in the process."] ElectionFailed , # [codec (index = 3)] # [doc = "An account has been rewarded for their signed submission being finalized."] Rewarded { account : :: subxt :: utils :: AccountId32 , value : :: core :: primitive :: u128 , } , # [codec (index = 4)] # [doc = "An account has been slashed for submitting an invalid signed submission."] Slashed { account : :: subxt :: utils :: AccountId32 , value : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "The signed phase of the given round has started."] SignedPhaseStarted { round : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "The unsigned phase of the given round has started."] UnsignedPhaseStarted { round : :: core :: primitive :: u32 , } , } + #[codec(index = 0)] + #[doc = "A solution was stored with the given compute."] + #[doc = ""] + #[doc = "If the solution is signed, this means that it hasn't yet been processed. If the"] + #[doc = "solution is unsigned, this means that it has also been processed."] + #[doc = ""] + #[doc = "The `bool` is `true` when a previous solution was ejected to make room for this one."] + SolutionStored { + compute: + runtime_types::pallet_election_provider_multi_phase::ElectionCompute, + prev_ejected: ::core::primitive::bool, + }, + #[codec(index = 1)] + #[doc = "The election has been finalized, with the given computation and score."] + ElectionFinalized { + compute: + runtime_types::pallet_election_provider_multi_phase::ElectionCompute, + score: runtime_types::sp_npos_elections::ElectionScore, + }, + #[codec(index = 2)] + #[doc = "An election failed."] + #[doc = ""] + #[doc = "Not much can be said about which computes failed in the process."] + ElectionFailed, + #[codec(index = 3)] + #[doc = "An account has been rewarded for their signed submission being finalized."] + Rewarded { + account: ::subxt::utils::AccountId32, + value: ::core::primitive::u128, + }, + #[codec(index = 4)] + #[doc = "An account has been slashed for submitting an invalid signed submission."] + Slashed { + account: ::subxt::utils::AccountId32, + value: ::core::primitive::u128, + }, + #[codec(index = 5)] + #[doc = "The signed phase of the given round has started."] + SignedPhaseStarted { round: ::core::primitive::u32 }, + #[codec(index = 6)] + #[doc = "The unsigned phase of the given round has started."] + UnsignedPhaseStarted { round: ::core::primitive::u32 }, + } } pub mod signed { use super::runtime_types; @@ -35042,9 +34415,7 @@ pub mod api { pub who: _0, pub deposit: _1, pub raw_solution: - runtime_types::pallet_election_provider_multi_phase::RawSolution< - _2, - >, + runtime_types::pallet_election_provider_multi_phase::RawSolution<_2>, pub call_fee: _1, } } @@ -35114,13 +34485,10 @@ pub mod api { pub struct ReadySolution { pub supports: runtime_types::sp_core::bounded::bounded_vec::BoundedVec<( ::subxt::utils::AccountId32, - runtime_types::sp_npos_elections::Support< - ::subxt::utils::AccountId32, - >, + runtime_types::sp_npos_elections::Support<::subxt::utils::AccountId32>, )>, pub score: runtime_types::sp_npos_elections::ElectionScore, - pub compute: - runtime_types::pallet_election_provider_multi_phase::ElectionCompute, + pub compute: runtime_types::pallet_election_provider_multi_phase::ElectionCompute, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -35270,8 +34638,7 @@ pub mod api { #[doc = "will go into phragmen, we assume full block for now."] #[doc = "# "] remove_member { - who: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, slash_bond: ::core::primitive::bool, rerun_election: ::core::primitive::bool, }, @@ -35372,10 +34739,8 @@ pub mod api { #[doc = "slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to"] #[doc = "begin with."] NewTerm { - new_members: ::std::vec::Vec<( - ::subxt::utils::AccountId32, - ::core::primitive::u128, - )>, + new_members: + ::std::vec::Vec<(::subxt::utils::AccountId32, ::core::primitive::u128)>, }, #[codec(index = 1)] #[doc = "No (or not enough) candidates existed for this round. This is different from"] @@ -35555,10 +34920,8 @@ pub mod api { #[doc = "A staker was unstaked."] Unstaked { stash: ::subxt::utils::AccountId32, - result: ::core::result::Result< - (), - runtime_types::sp_runtime::DispatchError, - >, + result: + ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, #[codec(index = 1)] #[doc = "A staker was slashed for requesting fast-unstake whilst being exposed."] @@ -35598,9 +34961,10 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct UnstakeRequest { - pub stashes: runtime_types::sp_core::bounded::bounded_vec::BoundedVec< - (::subxt::utils::AccountId32, ::core::primitive::u128), - >, + pub stashes: runtime_types::sp_core::bounded::bounded_vec::BoundedVec<( + ::subxt::utils::AccountId32, + ::core::primitive::u128, + )>, pub checked: runtime_types::sp_core::bounded::bounded_vec::BoundedVec< ::core::primitive::u32, >, @@ -35804,8 +35168,7 @@ pub mod api { #[doc = "- One event."] #[doc = "# "] add_registrar { - account: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + account: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 1)] #[doc = "Set an account's identity information and reserve the appropriate deposit."] @@ -35828,9 +35191,8 @@ pub mod api { #[doc = "- One event."] #[doc = "# "] set_identity { - info: ::std::boxed::Box< - runtime_types::pallet_identity::types::IdentityInfo, - >, + info: + ::std::boxed::Box, }, #[codec(index = 2)] #[doc = "Set the sub-accounts of the sender."] @@ -35966,8 +35328,7 @@ pub mod api { set_account_id { #[codec(compact)] index: ::core::primitive::u32, - new: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + new: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 8)] #[doc = "Set the field information for a registrar."] @@ -36014,8 +35375,7 @@ pub mod api { provide_judgement { #[codec(compact)] reg_index: ::core::primitive::u32, - target: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, judgement: runtime_types::pallet_identity::types::Judgement< ::core::primitive::u128, >, @@ -36042,8 +35402,7 @@ pub mod api { #[doc = "- One event."] #[doc = "# "] kill_identity { - target: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 11)] #[doc = "Add the given account to the sender's subs."] @@ -36054,8 +35413,7 @@ pub mod api { #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] #[doc = "sub identity of `sub`."] add_sub { - sub: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + sub: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, data: runtime_types::pallet_identity::types::Data, }, #[codec(index = 12)] @@ -36064,8 +35422,7 @@ pub mod api { #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] #[doc = "sub identity of `sub`."] rename_sub { - sub: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + sub: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, data: runtime_types::pallet_identity::types::Data, }, #[codec(index = 13)] @@ -36077,8 +35434,7 @@ pub mod api { #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] #[doc = "sub identity of `sub`."] remove_sub { - sub: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + sub: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 14)] #[doc = "Remove the sender as a sub-account."] @@ -36372,18 +35728,16 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct IdentityInfo { - pub additional: - runtime_types::sp_core::bounded::bounded_vec::BoundedVec<( - runtime_types::pallet_identity::types::Data, - runtime_types::pallet_identity::types::Data, - )>, + pub additional: runtime_types::sp_core::bounded::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 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, } @@ -36438,11 +35792,10 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Registration<_0> { - pub judgements: - runtime_types::sp_core::bounded::bounded_vec::BoundedVec<( - ::core::primitive::u32, - runtime_types::pallet_identity::types::Judgement<_0>, - )>, + pub judgements: runtime_types::sp_core::bounded::bounded_vec::BoundedVec<( + ::core::primitive::u32, + runtime_types::pallet_identity::types::Judgement<_0>, + )>, pub deposit: _0, pub info: runtime_types::pallet_identity::types::IdentityInfo, } @@ -36463,7 +35816,22 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub enum Call { - # [codec (index = 0)] # [doc = "# "] # [doc = "- Complexity: `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is"] # [doc = " length of `heartbeat.network_state.external_address`"] # [doc = " - `O(K)`: decoding of length `K`"] # [doc = " - `O(E)`: decoding/encoding of length `E`"] # [doc = "- DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,"] # [doc = " `ReceivedHeartbeats`"] # [doc = "- DbWrites: `ReceivedHeartbeats`"] # [doc = "# "] heartbeat { heartbeat : runtime_types :: pallet_im_online :: Heartbeat < :: core :: primitive :: u32 > , signature : runtime_types :: pallet_im_online :: sr25519 :: app_sr25519 :: Signature , } , } + #[codec(index = 0)] + #[doc = "# "] + #[doc = "- Complexity: `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is"] + #[doc = " length of `heartbeat.network_state.external_address`"] + #[doc = " - `O(K)`: decoding of length `K`"] + #[doc = " - `O(E)`: decoding/encoding of length `E`"] + #[doc = "- DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,"] + #[doc = " `ReceivedHeartbeats`"] + #[doc = "- DbWrites: `ReceivedHeartbeats`"] + #[doc = "# "] + heartbeat { + heartbeat: + runtime_types::pallet_im_online::Heartbeat<::core::primitive::u32>, + signature: runtime_types::pallet_im_online::sr25519::app_sr25519::Signature, + }, + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -36496,8 +35864,7 @@ pub mod api { #[codec(index = 0)] #[doc = "A new heartbeat was received from `AuthorityId`."] HeartbeatReceived { - authority_id: - runtime_types::pallet_im_online::sr25519::app_sr25519::Public, + authority_id: runtime_types::pallet_im_online::sr25519::app_sr25519::Public, }, #[codec(index = 1)] #[doc = "At the end of the session, no offence was committed."] @@ -36551,10 +35918,9 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BoundedOpaqueNetworkState { - pub peer_id: - runtime_types::sp_core::bounded::weak_bounded_vec::WeakBoundedVec< - ::core::primitive::u8, - >, + pub peer_id: runtime_types::sp_core::bounded::weak_bounded_vec::WeakBoundedVec< + ::core::primitive::u8, + >, pub external_addresses: runtime_types::sp_core::bounded::weak_bounded_vec::WeakBoundedVec< runtime_types::sp_core::bounded::weak_bounded_vec::WeakBoundedVec< @@ -36636,8 +36002,7 @@ pub mod api { #[doc = " - Writes: Indices Accounts, System Account (recipient)"] #[doc = "# "] transfer { - new: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + new: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, index: ::core::primitive::u32, }, #[codec(index = 2)] @@ -36683,8 +36048,7 @@ pub mod api { #[doc = " - Writes: Indices Accounts, System Account (original owner)"] #[doc = "# "] force_transfer { - new: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + new: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, index: ::core::primitive::u32, freeze: ::core::primitive::bool, }, @@ -36785,16 +36149,14 @@ pub mod api { #[doc = ""] #[doc = "May only be called from `T::AddOrigin`."] add_member { - who: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 1)] #[doc = "Remove a member `who` from the set."] #[doc = ""] #[doc = "May only be called from `T::RemoveOrigin`."] remove_member { - who: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 2)] #[doc = "Swap out one member `remove` for another `add`."] @@ -36803,10 +36165,8 @@ pub mod api { #[doc = ""] #[doc = "Prime membership is *not* passed from `remove` to `add`, if extant."] swap_member { - remove: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - add: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + remove: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + add: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 3)] #[doc = "Change the membership to a new set, disregarding the existing membership. Be nice and"] @@ -36823,16 +36183,14 @@ pub mod api { #[doc = ""] #[doc = "Prime membership is passed from the origin account to `new`, if extant."] change_key { - new: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + new: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 5)] #[doc = "Set the prime member. Must be a current member."] #[doc = ""] #[doc = "May only be called from `T::PrimeOrigin`."] set_prime { - who: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 6)] #[doc = "Remove the prime member if it exists."] @@ -36927,9 +36285,7 @@ pub mod api { #[doc = "# "] as_multi_threshold_1 { other_signatories: ::std::vec::Vec<::subxt::utils::AccountId32>, - call: ::std::boxed::Box< - runtime_types::polkadot_runtime::RuntimeCall, - >, + call: ::std::boxed::Box, }, #[codec(index = 1)] #[doc = "Register approval for a dispatch to be made from a deterministic composite account if"] @@ -36981,13 +36337,9 @@ pub mod api { threshold: ::core::primitive::u16, other_signatories: ::std::vec::Vec<::subxt::utils::AccountId32>, maybe_timepoint: ::core::option::Option< - runtime_types::pallet_multisig::Timepoint< - ::core::primitive::u32, - >, - >, - call: ::std::boxed::Box< - runtime_types::polkadot_runtime::RuntimeCall, + runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >, + call: ::std::boxed::Box, max_weight: runtime_types::sp_weights::weight_v2::Weight, }, #[codec(index = 2)] @@ -37030,9 +36382,7 @@ pub mod api { threshold: ::core::primitive::u16, other_signatories: ::std::vec::Vec<::subxt::utils::AccountId32>, maybe_timepoint: ::core::option::Option< - runtime_types::pallet_multisig::Timepoint< - ::core::primitive::u32, - >, + runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >, call_hash: [::core::primitive::u8; 32usize], max_weight: runtime_types::sp_weights::weight_v2::Weight, @@ -37067,9 +36417,8 @@ pub mod api { cancel_as_multi { threshold: ::core::primitive::u16, other_signatories: ::std::vec::Vec<::subxt::utils::AccountId32>, - timepoint: runtime_types::pallet_multisig::Timepoint< - ::core::primitive::u32, - >, + timepoint: + runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, call_hash: [::core::primitive::u8; 32usize], }, } @@ -37149,9 +36498,8 @@ pub mod api { #[doc = "A multisig operation has been approved by someone."] MultisigApproval { approving: ::subxt::utils::AccountId32, - timepoint: runtime_types::pallet_multisig::Timepoint< - ::core::primitive::u32, - >, + timepoint: + runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, multisig: ::subxt::utils::AccountId32, call_hash: [::core::primitive::u8; 32usize], }, @@ -37159,23 +36507,19 @@ pub mod api { #[doc = "A multisig operation has been executed."] MultisigExecuted { approving: ::subxt::utils::AccountId32, - timepoint: runtime_types::pallet_multisig::Timepoint< - ::core::primitive::u32, - >, + timepoint: + runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, multisig: ::subxt::utils::AccountId32, call_hash: [::core::primitive::u8; 32usize], - result: ::core::result::Result< - (), - runtime_types::sp_runtime::DispatchError, - >, + result: + ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, #[codec(index = 3)] #[doc = "A multisig operation has been cancelled."] MultisigCancelled { cancelling: ::subxt::utils::AccountId32, - timepoint: runtime_types::pallet_multisig::Timepoint< - ::core::primitive::u32, - >, + timepoint: + runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, multisig: ::subxt::utils::AccountId32, call_hash: [::core::primitive::u8; 32usize], }, @@ -37194,8 +36538,7 @@ pub mod api { pub when: runtime_types::pallet_multisig::Timepoint<_0>, pub deposit: _1, pub depositor: _2, - pub approvals: - runtime_types::sp_core::bounded::bounded_vec::BoundedVec<_2>, + pub approvals: runtime_types::sp_core::bounded::bounded_vec::BoundedVec<_2>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -37354,10 +36697,8 @@ pub mod api { create { #[codec(compact)] amount: ::core::primitive::u128, - root: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - nominator: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + root: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + nominator: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, state_toggler: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, @@ -37371,10 +36712,8 @@ pub mod api { create_with_pool_id { #[codec(compact)] amount: ::core::primitive::u128, - root: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - nominator: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + root: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + nominator: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, state_toggler: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, pool_id: ::core::primitive::u32, @@ -37439,10 +36778,9 @@ pub mod api { max_members: runtime_types::pallet_nomination_pools::ConfigOp< ::core::primitive::u32, >, - max_members_per_pool: - runtime_types::pallet_nomination_pools::ConfigOp< - ::core::primitive::u32, - >, + max_members_per_pool: runtime_types::pallet_nomination_pools::ConfigOp< + ::core::primitive::u32, + >, }, #[codec(index = 12)] #[doc = "Update the roles of the pool."] @@ -37460,10 +36798,9 @@ pub mod api { new_nominator: runtime_types::pallet_nomination_pools::ConfigOp< ::subxt::utils::AccountId32, >, - new_state_toggler: - runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt::utils::AccountId32, - >, + new_state_toggler: runtime_types::pallet_nomination_pools::ConfigOp< + ::subxt::utils::AccountId32, + >, }, #[codec(index = 13)] #[doc = "Chill on behalf of the pool."] @@ -37574,9 +36911,7 @@ pub mod api { #[codec(index = 19)] #[doc = "Some error occurred that should never happen. This should be reported to the"] #[doc = "maintainers."] - Defensive( - runtime_types::pallet_nomination_pools::pallet::DefensiveError, - ), + Defensive(runtime_types::pallet_nomination_pools::pallet::DefensiveError), #[codec(index = 20)] #[doc = "Partial unbonding now allowed permissionlessly."] PartialUnbondNotAllowedPermissionlessly, @@ -37673,8 +37008,7 @@ pub mod api { #[doc = "can never change."] RolesUpdated { root: ::core::option::Option<::subxt::utils::AccountId32>, - state_toggler: - ::core::option::Option<::subxt::utils::AccountId32>, + state_toggler: ::core::option::Option<::subxt::utils::AccountId32>, nominator: ::core::option::Option<::subxt::utils::AccountId32>, }, #[codec(index = 9)] @@ -37720,9 +37054,8 @@ pub mod api { pub points: ::core::primitive::u128, pub state: runtime_types::pallet_nomination_pools::PoolState, pub member_counter: ::core::primitive::u32, - pub roles: runtime_types::pallet_nomination_pools::PoolRoles< - ::subxt::utils::AccountId32, - >, + pub roles: + runtime_types::pallet_nomination_pools::PoolRoles<::subxt::utils::AccountId32>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -37819,11 +37152,10 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SubPools { pub no_era: runtime_types::pallet_nomination_pools::UnbondPool, - pub with_era: - runtime_types::sp_core::bounded::bounded_btree_map::BoundedBTreeMap< - ::core::primitive::u32, - runtime_types::pallet_nomination_pools::UnbondPool, - >, + pub with_era: runtime_types::sp_core::bounded::bounded_btree_map::BoundedBTreeMap< + ::core::primitive::u32, + runtime_types::pallet_nomination_pools::UnbondPool, + >, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -38011,14 +37343,10 @@ pub mod api { #[doc = "- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call."] #[doc = "- `call`: The call to be made by the `real` account."] proxy { - real: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - force_proxy_type: ::core::option::Option< - runtime_types::polkadot_runtime::ProxyType, - >, - call: ::std::boxed::Box< - runtime_types::polkadot_runtime::RuntimeCall, - >, + real: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + force_proxy_type: + ::core::option::Option, + call: ::std::boxed::Box, }, #[codec(index = 1)] #[doc = "Register a proxy account for the sender that is able to make calls on its behalf."] @@ -38031,8 +37359,7 @@ pub mod api { #[doc = "- `delay`: The announcement period required of the initial proxy. Will generally be"] #[doc = "zero."] add_proxy { - delegate: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, proxy_type: runtime_types::polkadot_runtime::ProxyType, delay: ::core::primitive::u32, }, @@ -38045,8 +37372,7 @@ pub mod api { #[doc = "- `proxy`: The account that the `caller` would like to remove as a proxy."] #[doc = "- `proxy_type`: The permissions currently enabled for the removed proxy account."] remove_proxy { - delegate: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, proxy_type: runtime_types::polkadot_runtime::ProxyType, delay: ::core::primitive::u32, }, @@ -38100,8 +37426,7 @@ pub mod api { #[doc = "Fails with `NoPermission` in case the caller is not a previously created pure"] #[doc = "account whose `pure` call has corresponding parameters."] kill_pure { - spawner: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + spawner: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, proxy_type: runtime_types::polkadot_runtime::ProxyType, index: ::core::primitive::u16, #[codec(compact)] @@ -38126,8 +37451,7 @@ pub mod api { #[doc = "- `real`: The account that the proxy will make a call on behalf of."] #[doc = "- `call_hash`: The hash of the call to be made by the `real` account."] announce { - real: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + real: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, call_hash: ::subxt::utils::H256, }, #[codec(index = 7)] @@ -38142,8 +37466,7 @@ pub mod api { #[doc = "- `real`: The account that the proxy will make a call on behalf of."] #[doc = "- `call_hash`: The hash of the call to be made by the `real` account."] remove_announcement { - real: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + real: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, call_hash: ::subxt::utils::H256, }, #[codec(index = 8)] @@ -38158,8 +37481,7 @@ pub mod api { #[doc = "- `delegate`: The account that previously announced the call."] #[doc = "- `call_hash`: The hash of the call to be made."] reject_announcement { - delegate: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, call_hash: ::subxt::utils::H256, }, #[codec(index = 9)] @@ -38175,16 +37497,11 @@ pub mod api { #[doc = "- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call."] #[doc = "- `call`: The call to be made by the `real` account."] proxy_announced { - delegate: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - real: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - force_proxy_type: ::core::option::Option< - runtime_types::polkadot_runtime::ProxyType, - >, - call: ::std::boxed::Box< - runtime_types::polkadot_runtime::RuntimeCall, - >, + delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + real: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + force_proxy_type: + ::core::option::Option, + call: ::std::boxed::Box, }, } #[derive( @@ -38237,10 +37554,8 @@ pub mod api { #[codec(index = 0)] #[doc = "A proxy was executed correctly, with the given."] ProxyExecuted { - result: ::core::result::Result< - (), - runtime_types::sp_runtime::DispatchError, - >, + result: + ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, #[codec(index = 1)] #[doc = "A pure account has been created by new proxy with given"] @@ -38329,9 +37644,7 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::std::boxed::Box< - runtime_types::polkadot_runtime::RuntimeCall, - >, + call: ::std::boxed::Box, }, #[codec(index = 1)] #[doc = "Cancel an anonymously scheduled task."] @@ -38349,9 +37662,7 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::std::boxed::Box< - runtime_types::polkadot_runtime::RuntimeCall, - >, + call: ::std::boxed::Box, }, #[codec(index = 3)] #[doc = "Cancel a named scheduled task."] @@ -38371,9 +37682,7 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::std::boxed::Box< - runtime_types::polkadot_runtime::RuntimeCall, - >, + call: ::std::boxed::Box, }, #[codec(index = 5)] #[doc = "Schedule a named task after a delay."] @@ -38389,9 +37698,7 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::std::boxed::Box< - runtime_types::polkadot_runtime::RuntimeCall, - >, + call: ::std::boxed::Box, }, } #[derive( @@ -38449,10 +37756,8 @@ pub mod api { 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, - >, + result: + ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, #[codec(index = 3)] #[doc = "The call for the provided hash was not found so the task has been aborted."] @@ -38629,10 +37934,8 @@ pub mod api { #[doc = "------------------"] #[doc = "# "] bond { - controller: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + controller: + ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] value: ::core::primitive::u128, payee: runtime_types::pallet_staking::RewardDestination< @@ -38725,10 +38028,7 @@ pub mod api { #[doc = "# "] nominate { targets: ::std::vec::Vec< - ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, >, }, #[codec(index = 6)] @@ -38784,10 +38084,8 @@ pub mod api { #[doc = "- Write: Bonded, Ledger New Controller, Ledger Old Controller"] #[doc = "# "] set_controller { - controller: ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + controller: + ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 9)] #[doc = "Sets the ideal number of validators."] @@ -38969,10 +38267,7 @@ pub mod api { #[doc = "block any further nominations."] kick { who: ::std::vec::Vec< - ::subxt::utils::MultiAddress< - ::subxt::utils::AccountId32, - (), - >, + ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, >, }, #[codec(index = 22)] @@ -39014,10 +38309,9 @@ pub mod api { runtime_types::pallet_staking::pallet::pallet::ConfigOp< runtime_types::sp_arithmetic::per_things::Percent, >, - min_commission: - runtime_types::pallet_staking::pallet::pallet::ConfigOp< - runtime_types::sp_arithmetic::per_things::Perbill, - >, + min_commission: runtime_types::pallet_staking::pallet::pallet::ConfigOp< + runtime_types::sp_arithmetic::per_things::Perbill, + >, }, #[codec(index = 23)] #[doc = "Declare a `controller` to stop participating as either a validator or nominator."] @@ -39325,9 +38619,8 @@ pub mod api { pub total: _1, #[codec(compact)] pub own: _1, - pub others: ::std::vec::Vec< - runtime_types::pallet_staking::IndividualExposure<_0, _1>, - >, + pub others: + ::std::vec::Vec>, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -39452,10 +38745,9 @@ pub mod api { pub unlocking: runtime_types::sp_core::bounded::bounded_vec::BoundedVec< runtime_types::pallet_staking::UnlockChunk<::core::primitive::u128>, >, - pub claimed_rewards: - runtime_types::sp_core::bounded::bounded_vec::BoundedVec< - ::core::primitive::u32, - >, + pub claimed_rewards: runtime_types::sp_core::bounded::bounded_vec::BoundedVec< + ::core::primitive::u32, + >, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -39579,8 +38871,7 @@ pub mod api { #[doc = "# "] report_awesome { reason: ::std::vec::Vec<::core::primitive::u8>, - who: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 1)] #[doc = "Retract a prior tip-report from `report_awesome`, and cancel the process of tipping."] @@ -39628,8 +38919,7 @@ pub mod api { #[doc = "# "] tip_new { reason: ::std::vec::Vec<::core::primitive::u8>, - who: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] tip_value: ::core::primitive::u128, }, @@ -39815,9 +39105,7 @@ pub mod api { )] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct ChargeTransactionPayment( - #[codec(compact)] pub ::core::primitive::u128, - ); + pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -39862,8 +39150,7 @@ pub mod api { propose_spend { #[codec(compact)] value: ::core::primitive::u128, - beneficiary: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 1)] #[doc = "Reject a proposed spend. The original deposit will be slashed."] @@ -39906,8 +39193,7 @@ pub mod api { spend { #[codec(compact)] amount: ::core::primitive::u128, - beneficiary: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 4)] #[doc = "Force a previously approved proposal to be removed from the approval queue."] @@ -40066,8 +39352,7 @@ pub mod api { #[doc = "and the error of the failed call. If all were successful, then the `BatchCompleted`"] #[doc = "event is deposited."] batch { - calls: - ::std::vec::Vec, + calls: ::std::vec::Vec, }, #[codec(index = 1)] #[doc = "Send a call through an indexed pseudonym of the sender."] @@ -40085,9 +39370,7 @@ pub mod api { #[doc = "The dispatch origin for this call must be _Signed_."] as_derivative { index: ::core::primitive::u16, - call: ::std::boxed::Box< - runtime_types::polkadot_runtime::RuntimeCall, - >, + call: ::std::boxed::Box, }, #[codec(index = 2)] #[doc = "Send a batch of dispatch calls and atomically execute them."] @@ -40105,8 +39388,7 @@ pub mod api { #[doc = "- Complexity: O(C) where C is the number of calls to be batched."] #[doc = "# "] batch_all { - calls: - ::std::vec::Vec, + calls: ::std::vec::Vec, }, #[codec(index = 3)] #[doc = "Dispatches a function call with a provided origin."] @@ -40120,12 +39402,8 @@ pub mod api { #[doc = "- Weight of derivative `call` execution + T::WeightInfo::dispatch_as()."] #[doc = "# "] dispatch_as { - as_origin: ::std::boxed::Box< - runtime_types::polkadot_runtime::OriginCaller, - >, - call: ::std::boxed::Box< - runtime_types::polkadot_runtime::RuntimeCall, - >, + as_origin: ::std::boxed::Box, + call: ::std::boxed::Box, }, #[codec(index = 4)] #[doc = "Send a batch of dispatch calls."] @@ -40143,8 +39421,7 @@ pub mod api { #[doc = "- Complexity: O(C) where C is the number of calls to be batched."] #[doc = "# "] force_batch { - calls: - ::std::vec::Vec, + calls: ::std::vec::Vec, }, } #[derive( @@ -40197,10 +39474,8 @@ pub mod api { #[codec(index = 5)] #[doc = "A call was dispatched."] DispatchedAs { - result: ::core::result::Result< - (), - runtime_types::sp_runtime::DispatchError, - >, + result: + ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, } } @@ -40252,8 +39527,7 @@ pub mod api { #[doc = " - Writes: Vesting Storage, Balances Locks, Target Account"] #[doc = "# "] vest_other { - target: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, }, #[codec(index = 2)] #[doc = "Create a vested transfer."] @@ -40274,13 +39548,11 @@ pub mod api { #[doc = " - Writes: Vesting Storage, Balances Locks, Target Account, [Sender Account]"] #[doc = "# "] vested_transfer { - target: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - schedule: - runtime_types::pallet_vesting::vesting_info::VestingInfo< - ::core::primitive::u128, - ::core::primitive::u32, - >, + target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + schedule: runtime_types::pallet_vesting::vesting_info::VestingInfo< + ::core::primitive::u128, + ::core::primitive::u32, + >, }, #[codec(index = 3)] #[doc = "Force a vested transfer."] @@ -40302,15 +39574,12 @@ pub mod api { #[doc = " - Writes: Vesting Storage, Balances Locks, Target Account, Source Account"] #[doc = "# "] force_vested_transfer { - source: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - target: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - schedule: - runtime_types::pallet_vesting::vesting_info::VestingInfo< - ::core::primitive::u128, - ::core::primitive::u32, - >, + source: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + schedule: runtime_types::pallet_vesting::vesting_info::VestingInfo< + ::core::primitive::u128, + ::core::primitive::u32, + >, }, #[codec(index = 4)] #[doc = "Merge two vesting schedules together, creating a new vesting schedule that unlocks over"] @@ -40442,8 +39711,7 @@ pub mod api { pub enum Call { #[codec(index = 0)] send { - dest: - ::std::boxed::Box, + dest: ::std::boxed::Box, message: ::std::boxed::Box, }, #[codec(index = 1)] @@ -40463,12 +39731,9 @@ pub mod api { #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] #[doc = " fees."] teleport_assets { - dest: - ::std::boxed::Box, - beneficiary: - ::std::boxed::Box, - assets: - ::std::boxed::Box, + dest: ::std::boxed::Box, + beneficiary: ::std::boxed::Box, + assets: ::std::boxed::Box, fee_asset_item: ::core::primitive::u32, }, #[codec(index = 2)] @@ -40489,12 +39754,9 @@ pub mod api { #[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] #[doc = " fees."] reserve_transfer_assets { - dest: - ::std::boxed::Box, - beneficiary: - ::std::boxed::Box, - assets: - ::std::boxed::Box, + dest: ::std::boxed::Box, + beneficiary: ::std::boxed::Box, + assets: ::std::boxed::Box, fee_asset_item: ::core::primitive::u32, }, #[codec(index = 3)] @@ -40521,9 +39783,8 @@ pub mod api { #[doc = "- `location`: The destination that is being described."] #[doc = "- `xcm_version`: The latest version of XCM that `location` supports."] force_xcm_version { - location: ::std::boxed::Box< - runtime_types::xcm::v1::multilocation::MultiLocation, - >, + location: + ::std::boxed::Box, xcm_version: ::core::primitive::u32, }, #[codec(index = 5)] @@ -40541,8 +39802,7 @@ pub mod api { #[doc = "- `origin`: Must be Root."] #[doc = "- `location`: The location to which we should subscribe for XCM version notifications."] force_subscribe_version_notify { - location: - ::std::boxed::Box, + location: ::std::boxed::Box, }, #[codec(index = 7)] #[doc = "Require that a particular destination should no longer notify us regarding any XCM"] @@ -40552,8 +39812,7 @@ pub mod api { #[doc = "- `location`: The location to which we are currently subscribed for XCM version"] #[doc = " notifications which we no longer desire."] force_unsubscribe_version_notify { - location: - ::std::boxed::Box, + location: ::std::boxed::Box, }, #[codec(index = 8)] #[doc = "Transfer some assets from the local chain to the sovereign account of a destination"] @@ -40575,12 +39834,9 @@ pub mod api { #[doc = " fees."] #[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."] limited_reserve_transfer_assets { - dest: - ::std::boxed::Box, - beneficiary: - ::std::boxed::Box, - assets: - ::std::boxed::Box, + dest: ::std::boxed::Box, + beneficiary: ::std::boxed::Box, + assets: ::std::boxed::Box, fee_asset_item: ::core::primitive::u32, weight_limit: runtime_types::xcm::v2::WeightLimit, }, @@ -40603,12 +39859,9 @@ pub mod api { #[doc = " fees."] #[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."] limited_teleport_assets { - dest: - ::std::boxed::Box, - beneficiary: - ::std::boxed::Box, - assets: - ::std::boxed::Box, + dest: ::std::boxed::Box, + beneficiary: ::std::boxed::Box, + assets: ::std::boxed::Box, fee_asset_item: ::core::primitive::u32, weight_limit: runtime_types::xcm::v2::WeightLimit, }, @@ -40707,10 +39960,7 @@ pub mod api { #[doc = "no registered notification call."] #[doc = ""] #[doc = "\\[ id, response \\]"] - ResponseReady( - ::core::primitive::u64, - runtime_types::xcm::v2::Response, - ), + ResponseReady(::core::primitive::u64, runtime_types::xcm::v2::Response), #[codec(index = 4)] #[doc = "Query response has been received and query is removed. The registered notification has"] #[doc = "been dispatched and executed successfully."] @@ -40870,10 +40120,8 @@ pub mod api { #[codec(index = 0)] Pending { responder: runtime_types::xcm::VersionedMultiLocation, - maybe_notify: ::core::option::Option<( - ::core::primitive::u8, - ::core::primitive::u8, - )>, + maybe_notify: + ::core::option::Option<(::core::primitive::u8, ::core::primitive::u8)>, timeout: _0, }, #[codec(index = 1)] @@ -41073,7 +40321,14 @@ pub mod api { )] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct UncheckedSigned < _0 , _1 > { pub payload : _0 , pub validator_index : runtime_types :: polkadot_primitives :: v2 :: ValidatorIndex , pub signature : runtime_types :: polkadot_primitives :: v2 :: validator_app :: Signature , # [codec (skip)] pub __subxt_unused_type_params : :: core :: marker :: PhantomData < _1 > } + pub struct UncheckedSigned<_0, _1> { + pub payload: _0, + pub validator_index: runtime_types::polkadot_primitives::v2::ValidatorIndex, + pub signature: + runtime_types::polkadot_primitives::v2::validator_app::Signature, + #[codec(skip)] + pub __subxt_unused_type_params: ::core::marker::PhantomData<_1>, + } } pub mod validator_app { use super::runtime_types; @@ -41124,9 +40379,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BackedCandidate<_0> { pub candidate: - runtime_types::polkadot_primitives::v2::CommittedCandidateReceipt< - _0, - >, + runtime_types::polkadot_primitives::v2::CommittedCandidateReceipt<_0>, pub validity_votes: ::std::vec::Vec< runtime_types::polkadot_primitives::v2::ValidityAttestation, >, @@ -41145,8 +40398,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CandidateCommitments<_0> { - pub upward_messages: - ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, + pub upward_messages: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, pub horizontal_messages: ::std::vec::Vec< runtime_types::polkadot_core_primitives::OutboundHrmpMessage< runtime_types::polkadot_parachain::primitives::Id, @@ -41155,8 +40407,7 @@ pub mod api { pub new_validation_code: ::core::option::Option< runtime_types::polkadot_parachain::primitives::ValidationCode, >, - pub head_data: - runtime_types::polkadot_parachain::primitives::HeadData, + pub head_data: runtime_types::polkadot_parachain::primitives::HeadData, pub processed_downward_messages: _0, pub hrmp_watermark: _0, } @@ -41172,13 +40423,11 @@ pub mod api { pub struct CandidateDescriptor<_0> { pub para_id: runtime_types::polkadot_parachain::primitives::Id, pub relay_parent: _0, - pub collator: - runtime_types::polkadot_primitives::v2::collator_app::Public, + pub collator: runtime_types::polkadot_primitives::v2::collator_app::Public, pub persisted_validation_data_hash: _0, pub pov_hash: _0, pub erasure_root: _0, - pub signature: - runtime_types::polkadot_primitives::v2::collator_app::Signature, + pub signature: runtime_types::polkadot_primitives::v2::collator_app::Signature, pub para_head: _0, pub validation_code_hash: runtime_types::polkadot_parachain::primitives::ValidationCodeHash, @@ -41193,8 +40442,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CandidateReceipt<_0> { - pub descriptor: - runtime_types::polkadot_primitives::v2::CandidateDescriptor<_0>, + pub descriptor: runtime_types::polkadot_primitives::v2::CandidateDescriptor<_0>, pub commitments_hash: _0, } #[derive( @@ -41207,12 +40455,10 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CommittedCandidateReceipt<_0> { - pub descriptor: - runtime_types::polkadot_primitives::v2::CandidateDescriptor<_0>, - pub commitments: - runtime_types::polkadot_primitives::v2::CandidateCommitments< - ::core::primitive::u32, - >, + pub descriptor: runtime_types::polkadot_primitives::v2::CandidateDescriptor<_0>, + pub commitments: runtime_types::polkadot_primitives::v2::CandidateCommitments< + ::core::primitive::u32, + >, } #[derive( :: subxt :: ext :: codec :: CompactAs, @@ -41271,7 +40517,11 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum DisputeStatement { - # [codec (index = 0)] Valid (runtime_types :: polkadot_primitives :: v2 :: ValidDisputeStatementKind ,) , # [codec (index = 1)] Invalid (runtime_types :: polkadot_primitives :: v2 :: InvalidDisputeStatementKind ,) , } + #[codec(index = 0)] + Valid(runtime_types::polkadot_primitives::v2::ValidDisputeStatementKind), + #[codec(index = 1)] + Invalid(runtime_types::polkadot_primitives::v2::InvalidDisputeStatementKind), + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -41282,8 +40532,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct DisputeStatementSet { - pub candidate_hash: - runtime_types::polkadot_core_primitives::CandidateHash, + pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, pub session: ::core::primitive::u32, pub statements: ::std::vec::Vec<( runtime_types::polkadot_primitives::v2::DisputeStatement, @@ -41391,11 +40640,9 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PvfCheckStatement { pub accept: ::core::primitive::bool, - pub subject: - runtime_types::polkadot_parachain::primitives::ValidationCodeHash, + pub subject: runtime_types::polkadot_parachain::primitives::ValidationCodeHash, pub session_index: ::core::primitive::u32, - pub validator_index: - runtime_types::polkadot_primitives::v2::ValidatorIndex, + pub validator_index: runtime_types::polkadot_primitives::v2::ValidatorIndex, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -41429,28 +40676,23 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SessionInfo { - pub active_validator_indices: ::std::vec::Vec< - runtime_types::polkadot_primitives::v2::ValidatorIndex, - >, + pub active_validator_indices: + ::std::vec::Vec, pub random_seed: [::core::primitive::u8; 32usize], pub dispute_period: ::core::primitive::u32, pub validators: runtime_types::polkadot_primitives::v2::IndexedVec< runtime_types::polkadot_primitives::v2::ValidatorIndex, runtime_types::polkadot_primitives::v2::validator_app::Public, >, - pub discovery_keys: ::std::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::v2::assignment_app::Public, >, - pub validator_groups: - runtime_types::polkadot_primitives::v2::IndexedVec< - runtime_types::polkadot_primitives::v2::GroupIndex, - ::std::vec::Vec< - runtime_types::polkadot_primitives::v2::ValidatorIndex, - >, - >, + pub validator_groups: runtime_types::polkadot_primitives::v2::IndexedVec< + runtime_types::polkadot_primitives::v2::GroupIndex, + ::std::vec::Vec, + >, pub n_cores: ::core::primitive::u32, pub zeroth_delay_tranche_width: ::core::primitive::u32, pub relay_vrf_modulo_samples: ::core::primitive::u32, @@ -41527,13 +40769,9 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum ValidityAttestation { #[codec(index = 1)] - Implicit( - runtime_types::polkadot_primitives::v2::validator_app::Signature, - ), + Implicit(runtime_types::polkadot_primitives::v2::validator_app::Signature), #[codec(index = 2)] - Explicit( - runtime_types::polkadot_primitives::v2::validator_app::Signature, - ), + Explicit(runtime_types::polkadot_primitives::v2::validator_app::Signature), } } } @@ -41716,21 +40954,13 @@ pub mod api { pub enum OriginCaller { #[codec(index = 0)] system( - runtime_types::frame_support::dispatch::RawOrigin< - ::subxt::utils::AccountId32, - >, + runtime_types::frame_support::dispatch::RawOrigin<::subxt::utils::AccountId32>, ), #[codec(index = 15)] - Council( - runtime_types::pallet_collective::RawOrigin< - ::subxt::utils::AccountId32, - >, - ), + Council(runtime_types::pallet_collective::RawOrigin<::subxt::utils::AccountId32>), #[codec(index = 16)] TechnicalCommittee( - runtime_types::pallet_collective::RawOrigin< - ::subxt::utils::AccountId32, - >, + runtime_types::pallet_collective::RawOrigin<::subxt::utils::AccountId32>, ), #[codec(index = 50)] ParachainsOrigin( @@ -41786,7 +41016,105 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum RuntimeCall { - # [codec (index = 0)] System (runtime_types :: frame_system :: pallet :: Call ,) , # [codec (index = 1)] Scheduler (runtime_types :: pallet_scheduler :: pallet :: Call ,) , # [codec (index = 10)] Preimage (runtime_types :: pallet_preimage :: pallet :: Call ,) , # [codec (index = 2)] Babe (runtime_types :: pallet_babe :: pallet :: Call ,) , # [codec (index = 3)] Timestamp (runtime_types :: pallet_timestamp :: pallet :: Call ,) , # [codec (index = 4)] Indices (runtime_types :: pallet_indices :: pallet :: Call ,) , # [codec (index = 5)] Balances (runtime_types :: pallet_balances :: pallet :: Call ,) , # [codec (index = 6)] Authorship (runtime_types :: pallet_authorship :: pallet :: Call ,) , # [codec (index = 7)] Staking (runtime_types :: pallet_staking :: pallet :: pallet :: Call ,) , # [codec (index = 9)] Session (runtime_types :: pallet_session :: pallet :: Call ,) , # [codec (index = 11)] Grandpa (runtime_types :: pallet_grandpa :: pallet :: Call ,) , # [codec (index = 12)] ImOnline (runtime_types :: pallet_im_online :: pallet :: Call ,) , # [codec (index = 14)] Democracy (runtime_types :: pallet_democracy :: pallet :: Call ,) , # [codec (index = 15)] Council (runtime_types :: pallet_collective :: pallet :: Call ,) , # [codec (index = 16)] TechnicalCommittee (runtime_types :: pallet_collective :: pallet :: Call ,) , # [codec (index = 17)] PhragmenElection (runtime_types :: pallet_elections_phragmen :: pallet :: Call ,) , # [codec (index = 18)] TechnicalMembership (runtime_types :: pallet_membership :: pallet :: Call ,) , # [codec (index = 19)] Treasury (runtime_types :: pallet_treasury :: pallet :: Call ,) , # [codec (index = 24)] Claims (runtime_types :: polkadot_runtime_common :: claims :: pallet :: Call ,) , # [codec (index = 25)] Vesting (runtime_types :: pallet_vesting :: pallet :: Call ,) , # [codec (index = 26)] Utility (runtime_types :: pallet_utility :: pallet :: Call ,) , # [codec (index = 28)] Identity (runtime_types :: pallet_identity :: pallet :: Call ,) , # [codec (index = 29)] Proxy (runtime_types :: pallet_proxy :: pallet :: Call ,) , # [codec (index = 30)] Multisig (runtime_types :: pallet_multisig :: pallet :: Call ,) , # [codec (index = 34)] Bounties (runtime_types :: pallet_bounties :: pallet :: Call ,) , # [codec (index = 38)] ChildBounties (runtime_types :: pallet_child_bounties :: pallet :: Call ,) , # [codec (index = 35)] Tips (runtime_types :: pallet_tips :: pallet :: Call ,) , # [codec (index = 36)] ElectionProviderMultiPhase (runtime_types :: pallet_election_provider_multi_phase :: pallet :: Call ,) , # [codec (index = 37)] VoterList (runtime_types :: pallet_bags_list :: pallet :: Call ,) , # [codec (index = 39)] NominationPools (runtime_types :: pallet_nomination_pools :: pallet :: Call ,) , # [codec (index = 40)] FastUnstake (runtime_types :: pallet_fast_unstake :: pallet :: Call ,) , # [codec (index = 51)] Configuration (runtime_types :: polkadot_runtime_parachains :: configuration :: pallet :: Call ,) , # [codec (index = 52)] ParasShared (runtime_types :: polkadot_runtime_parachains :: shared :: pallet :: Call ,) , # [codec (index = 53)] ParaInclusion (runtime_types :: polkadot_runtime_parachains :: inclusion :: pallet :: Call ,) , # [codec (index = 54)] ParaInherent (runtime_types :: polkadot_runtime_parachains :: paras_inherent :: pallet :: Call ,) , # [codec (index = 56)] Paras (runtime_types :: polkadot_runtime_parachains :: paras :: pallet :: Call ,) , # [codec (index = 57)] Initializer (runtime_types :: polkadot_runtime_parachains :: initializer :: pallet :: Call ,) , # [codec (index = 58)] Dmp (runtime_types :: polkadot_runtime_parachains :: dmp :: pallet :: Call ,) , # [codec (index = 59)] Ump (runtime_types :: polkadot_runtime_parachains :: ump :: pallet :: Call ,) , # [codec (index = 60)] Hrmp (runtime_types :: polkadot_runtime_parachains :: hrmp :: pallet :: Call ,) , # [codec (index = 62)] ParasDisputes (runtime_types :: polkadot_runtime_parachains :: disputes :: pallet :: Call ,) , # [codec (index = 70)] Registrar (runtime_types :: polkadot_runtime_common :: paras_registrar :: pallet :: Call ,) , # [codec (index = 71)] Slots (runtime_types :: polkadot_runtime_common :: slots :: pallet :: Call ,) , # [codec (index = 72)] Auctions (runtime_types :: polkadot_runtime_common :: auctions :: pallet :: Call ,) , # [codec (index = 73)] Crowdloan (runtime_types :: polkadot_runtime_common :: crowdloan :: pallet :: Call ,) , # [codec (index = 99)] XcmPallet (runtime_types :: pallet_xcm :: pallet :: Call ,) , } + #[codec(index = 0)] + System(runtime_types::frame_system::pallet::Call), + #[codec(index = 1)] + Scheduler(runtime_types::pallet_scheduler::pallet::Call), + #[codec(index = 10)] + Preimage(runtime_types::pallet_preimage::pallet::Call), + #[codec(index = 2)] + Babe(runtime_types::pallet_babe::pallet::Call), + #[codec(index = 3)] + Timestamp(runtime_types::pallet_timestamp::pallet::Call), + #[codec(index = 4)] + Indices(runtime_types::pallet_indices::pallet::Call), + #[codec(index = 5)] + Balances(runtime_types::pallet_balances::pallet::Call), + #[codec(index = 6)] + Authorship(runtime_types::pallet_authorship::pallet::Call), + #[codec(index = 7)] + Staking(runtime_types::pallet_staking::pallet::pallet::Call), + #[codec(index = 9)] + Session(runtime_types::pallet_session::pallet::Call), + #[codec(index = 11)] + Grandpa(runtime_types::pallet_grandpa::pallet::Call), + #[codec(index = 12)] + ImOnline(runtime_types::pallet_im_online::pallet::Call), + #[codec(index = 14)] + Democracy(runtime_types::pallet_democracy::pallet::Call), + #[codec(index = 15)] + Council(runtime_types::pallet_collective::pallet::Call), + #[codec(index = 16)] + TechnicalCommittee(runtime_types::pallet_collective::pallet::Call), + #[codec(index = 17)] + PhragmenElection(runtime_types::pallet_elections_phragmen::pallet::Call), + #[codec(index = 18)] + TechnicalMembership(runtime_types::pallet_membership::pallet::Call), + #[codec(index = 19)] + Treasury(runtime_types::pallet_treasury::pallet::Call), + #[codec(index = 24)] + Claims(runtime_types::polkadot_runtime_common::claims::pallet::Call), + #[codec(index = 25)] + Vesting(runtime_types::pallet_vesting::pallet::Call), + #[codec(index = 26)] + Utility(runtime_types::pallet_utility::pallet::Call), + #[codec(index = 28)] + Identity(runtime_types::pallet_identity::pallet::Call), + #[codec(index = 29)] + Proxy(runtime_types::pallet_proxy::pallet::Call), + #[codec(index = 30)] + Multisig(runtime_types::pallet_multisig::pallet::Call), + #[codec(index = 34)] + Bounties(runtime_types::pallet_bounties::pallet::Call), + #[codec(index = 38)] + ChildBounties(runtime_types::pallet_child_bounties::pallet::Call), + #[codec(index = 35)] + Tips(runtime_types::pallet_tips::pallet::Call), + #[codec(index = 36)] + ElectionProviderMultiPhase( + runtime_types::pallet_election_provider_multi_phase::pallet::Call, + ), + #[codec(index = 37)] + VoterList(runtime_types::pallet_bags_list::pallet::Call), + #[codec(index = 39)] + NominationPools(runtime_types::pallet_nomination_pools::pallet::Call), + #[codec(index = 40)] + FastUnstake(runtime_types::pallet_fast_unstake::pallet::Call), + #[codec(index = 51)] + Configuration( + runtime_types::polkadot_runtime_parachains::configuration::pallet::Call, + ), + #[codec(index = 52)] + ParasShared(runtime_types::polkadot_runtime_parachains::shared::pallet::Call), + #[codec(index = 53)] + ParaInclusion(runtime_types::polkadot_runtime_parachains::inclusion::pallet::Call), + #[codec(index = 54)] + ParaInherent( + runtime_types::polkadot_runtime_parachains::paras_inherent::pallet::Call, + ), + #[codec(index = 56)] + Paras(runtime_types::polkadot_runtime_parachains::paras::pallet::Call), + #[codec(index = 57)] + Initializer(runtime_types::polkadot_runtime_parachains::initializer::pallet::Call), + #[codec(index = 58)] + Dmp(runtime_types::polkadot_runtime_parachains::dmp::pallet::Call), + #[codec(index = 59)] + Ump(runtime_types::polkadot_runtime_parachains::ump::pallet::Call), + #[codec(index = 60)] + Hrmp(runtime_types::polkadot_runtime_parachains::hrmp::pallet::Call), + #[codec(index = 62)] + ParasDisputes(runtime_types::polkadot_runtime_parachains::disputes::pallet::Call), + #[codec(index = 70)] + Registrar(runtime_types::polkadot_runtime_common::paras_registrar::pallet::Call), + #[codec(index = 71)] + Slots(runtime_types::polkadot_runtime_common::slots::pallet::Call), + #[codec(index = 72)] + Auctions(runtime_types::polkadot_runtime_common::auctions::pallet::Call), + #[codec(index = 73)] + Crowdloan(runtime_types::polkadot_runtime_common::crowdloan::pallet::Call), + #[codec(index = 99)] + XcmPallet(runtime_types::pallet_xcm::pallet::Call), + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -41797,7 +41125,89 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum RuntimeEvent { - # [codec (index = 0)] System (runtime_types :: frame_system :: pallet :: Event ,) , # [codec (index = 1)] Scheduler (runtime_types :: pallet_scheduler :: pallet :: Event ,) , # [codec (index = 10)] Preimage (runtime_types :: pallet_preimage :: pallet :: Event ,) , # [codec (index = 4)] Indices (runtime_types :: pallet_indices :: pallet :: Event ,) , # [codec (index = 5)] Balances (runtime_types :: pallet_balances :: pallet :: Event ,) , # [codec (index = 32)] TransactionPayment (runtime_types :: pallet_transaction_payment :: pallet :: Event ,) , # [codec (index = 7)] Staking (runtime_types :: pallet_staking :: pallet :: pallet :: Event ,) , # [codec (index = 8)] Offences (runtime_types :: pallet_offences :: pallet :: Event ,) , # [codec (index = 9)] Session (runtime_types :: pallet_session :: pallet :: Event ,) , # [codec (index = 11)] Grandpa (runtime_types :: pallet_grandpa :: pallet :: Event ,) , # [codec (index = 12)] ImOnline (runtime_types :: pallet_im_online :: pallet :: Event ,) , # [codec (index = 14)] Democracy (runtime_types :: pallet_democracy :: pallet :: Event ,) , # [codec (index = 15)] Council (runtime_types :: pallet_collective :: pallet :: Event ,) , # [codec (index = 16)] TechnicalCommittee (runtime_types :: pallet_collective :: pallet :: Event ,) , # [codec (index = 17)] PhragmenElection (runtime_types :: pallet_elections_phragmen :: pallet :: Event ,) , # [codec (index = 18)] TechnicalMembership (runtime_types :: pallet_membership :: pallet :: Event ,) , # [codec (index = 19)] Treasury (runtime_types :: pallet_treasury :: pallet :: Event ,) , # [codec (index = 24)] Claims (runtime_types :: polkadot_runtime_common :: claims :: pallet :: Event ,) , # [codec (index = 25)] Vesting (runtime_types :: pallet_vesting :: pallet :: Event ,) , # [codec (index = 26)] Utility (runtime_types :: pallet_utility :: pallet :: Event ,) , # [codec (index = 28)] Identity (runtime_types :: pallet_identity :: pallet :: Event ,) , # [codec (index = 29)] Proxy (runtime_types :: pallet_proxy :: pallet :: Event ,) , # [codec (index = 30)] Multisig (runtime_types :: pallet_multisig :: pallet :: Event ,) , # [codec (index = 34)] Bounties (runtime_types :: pallet_bounties :: pallet :: Event ,) , # [codec (index = 38)] ChildBounties (runtime_types :: pallet_child_bounties :: pallet :: Event ,) , # [codec (index = 35)] Tips (runtime_types :: pallet_tips :: pallet :: Event ,) , # [codec (index = 36)] ElectionProviderMultiPhase (runtime_types :: pallet_election_provider_multi_phase :: pallet :: Event ,) , # [codec (index = 37)] VoterList (runtime_types :: pallet_bags_list :: pallet :: Event ,) , # [codec (index = 39)] NominationPools (runtime_types :: pallet_nomination_pools :: pallet :: Event ,) , # [codec (index = 40)] FastUnstake (runtime_types :: pallet_fast_unstake :: pallet :: Event ,) , # [codec (index = 53)] ParaInclusion (runtime_types :: polkadot_runtime_parachains :: inclusion :: pallet :: Event ,) , # [codec (index = 56)] Paras (runtime_types :: polkadot_runtime_parachains :: paras :: pallet :: Event ,) , # [codec (index = 59)] Ump (runtime_types :: polkadot_runtime_parachains :: ump :: pallet :: Event ,) , # [codec (index = 60)] Hrmp (runtime_types :: polkadot_runtime_parachains :: hrmp :: pallet :: Event ,) , # [codec (index = 62)] ParasDisputes (runtime_types :: polkadot_runtime_parachains :: disputes :: pallet :: Event ,) , # [codec (index = 70)] Registrar (runtime_types :: polkadot_runtime_common :: paras_registrar :: pallet :: Event ,) , # [codec (index = 71)] Slots (runtime_types :: polkadot_runtime_common :: slots :: pallet :: Event ,) , # [codec (index = 72)] Auctions (runtime_types :: polkadot_runtime_common :: auctions :: pallet :: Event ,) , # [codec (index = 73)] Crowdloan (runtime_types :: polkadot_runtime_common :: crowdloan :: pallet :: Event ,) , # [codec (index = 99)] XcmPallet (runtime_types :: pallet_xcm :: pallet :: Event ,) , } + #[codec(index = 0)] + System(runtime_types::frame_system::pallet::Event), + #[codec(index = 1)] + Scheduler(runtime_types::pallet_scheduler::pallet::Event), + #[codec(index = 10)] + Preimage(runtime_types::pallet_preimage::pallet::Event), + #[codec(index = 4)] + Indices(runtime_types::pallet_indices::pallet::Event), + #[codec(index = 5)] + Balances(runtime_types::pallet_balances::pallet::Event), + #[codec(index = 32)] + TransactionPayment(runtime_types::pallet_transaction_payment::pallet::Event), + #[codec(index = 7)] + Staking(runtime_types::pallet_staking::pallet::pallet::Event), + #[codec(index = 8)] + Offences(runtime_types::pallet_offences::pallet::Event), + #[codec(index = 9)] + Session(runtime_types::pallet_session::pallet::Event), + #[codec(index = 11)] + Grandpa(runtime_types::pallet_grandpa::pallet::Event), + #[codec(index = 12)] + ImOnline(runtime_types::pallet_im_online::pallet::Event), + #[codec(index = 14)] + Democracy(runtime_types::pallet_democracy::pallet::Event), + #[codec(index = 15)] + Council(runtime_types::pallet_collective::pallet::Event), + #[codec(index = 16)] + TechnicalCommittee(runtime_types::pallet_collective::pallet::Event), + #[codec(index = 17)] + PhragmenElection(runtime_types::pallet_elections_phragmen::pallet::Event), + #[codec(index = 18)] + TechnicalMembership(runtime_types::pallet_membership::pallet::Event), + #[codec(index = 19)] + Treasury(runtime_types::pallet_treasury::pallet::Event), + #[codec(index = 24)] + Claims(runtime_types::polkadot_runtime_common::claims::pallet::Event), + #[codec(index = 25)] + Vesting(runtime_types::pallet_vesting::pallet::Event), + #[codec(index = 26)] + Utility(runtime_types::pallet_utility::pallet::Event), + #[codec(index = 28)] + Identity(runtime_types::pallet_identity::pallet::Event), + #[codec(index = 29)] + Proxy(runtime_types::pallet_proxy::pallet::Event), + #[codec(index = 30)] + Multisig(runtime_types::pallet_multisig::pallet::Event), + #[codec(index = 34)] + Bounties(runtime_types::pallet_bounties::pallet::Event), + #[codec(index = 38)] + ChildBounties(runtime_types::pallet_child_bounties::pallet::Event), + #[codec(index = 35)] + Tips(runtime_types::pallet_tips::pallet::Event), + #[codec(index = 36)] + ElectionProviderMultiPhase( + runtime_types::pallet_election_provider_multi_phase::pallet::Event, + ), + #[codec(index = 37)] + VoterList(runtime_types::pallet_bags_list::pallet::Event), + #[codec(index = 39)] + NominationPools(runtime_types::pallet_nomination_pools::pallet::Event), + #[codec(index = 40)] + FastUnstake(runtime_types::pallet_fast_unstake::pallet::Event), + #[codec(index = 53)] + ParaInclusion(runtime_types::polkadot_runtime_parachains::inclusion::pallet::Event), + #[codec(index = 56)] + Paras(runtime_types::polkadot_runtime_parachains::paras::pallet::Event), + #[codec(index = 59)] + Ump(runtime_types::polkadot_runtime_parachains::ump::pallet::Event), + #[codec(index = 60)] + Hrmp(runtime_types::polkadot_runtime_parachains::hrmp::pallet::Event), + #[codec(index = 62)] + ParasDisputes(runtime_types::polkadot_runtime_parachains::disputes::pallet::Event), + #[codec(index = 70)] + Registrar(runtime_types::polkadot_runtime_common::paras_registrar::pallet::Event), + #[codec(index = 71)] + Slots(runtime_types::polkadot_runtime_common::slots::pallet::Event), + #[codec(index = 72)] + Auctions(runtime_types::polkadot_runtime_common::auctions::pallet::Event), + #[codec(index = 73)] + Crowdloan(runtime_types::polkadot_runtime_common::crowdloan::pallet::Event), + #[codec(index = 99)] + XcmPallet(runtime_types::pallet_xcm::pallet::Event), + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -41810,14 +41220,10 @@ pub mod api { pub struct SessionKeys { pub grandpa: runtime_types::sp_finality_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::v2::validator_app::Public, - pub para_assignment: - runtime_types::polkadot_primitives::v2::assignment_app::Public, - pub authority_discovery: - runtime_types::sp_authority_discovery::app::Public, + pub im_online: runtime_types::pallet_im_online::sr25519::app_sr25519::Public, + pub para_validator: runtime_types::polkadot_primitives::v2::validator_app::Public, + pub para_assignment: runtime_types::polkadot_primitives::v2::assignment_app::Public, + pub authority_discovery: runtime_types::sp_authority_discovery::app::Public, } } pub mod polkadot_runtime_common { @@ -41996,7 +41402,125 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub enum Call { - # [codec (index = 0)] # [doc = "Make a claim to collect your DOTs."] # [doc = ""] # [doc = "The dispatch origin for this call must be _None_."] # [doc = ""] # [doc = "Unsigned Validation:"] # [doc = "A call to claim is deemed valid if the signature provided matches"] # [doc = "the expected signed message of:"] # [doc = ""] # [doc = "> Ethereum Signed Message:"] # [doc = "> (configured prefix string)(address)"] # [doc = ""] # [doc = "and `address` matches the `dest` account."] # [doc = ""] # [doc = "Parameters:"] # [doc = "- `dest`: The destination account to payout the claim."] # [doc = "- `ethereum_signature`: The signature of an ethereum signed message"] # [doc = " matching the format described above."] # [doc = ""] # [doc = ""] # [doc = "The weight of this call is invariant over the input parameters."] # [doc = "Weight includes logic to validate unsigned `claim` call."] # [doc = ""] # [doc = "Total Complexity: O(1)"] # [doc = ""] claim { dest : :: subxt :: utils :: AccountId32 , ethereum_signature : runtime_types :: polkadot_runtime_common :: claims :: EcdsaSignature , } , # [codec (index = 1)] # [doc = "Mint a new claim to collect DOTs."] # [doc = ""] # [doc = "The dispatch origin for this call must be _Root_."] # [doc = ""] # [doc = "Parameters:"] # [doc = "- `who`: The Ethereum address allowed to collect this claim."] # [doc = "- `value`: The number of DOTs that will be claimed."] # [doc = "- `vesting_schedule`: An optional vesting schedule for these DOTs."] # [doc = ""] # [doc = ""] # [doc = "The weight of this call is invariant over the input parameters."] # [doc = "We assume worst case that both vesting and statement is being inserted."] # [doc = ""] # [doc = "Total Complexity: O(1)"] # [doc = ""] mint_claim { who : runtime_types :: polkadot_runtime_common :: claims :: EthereumAddress , value : :: core :: primitive :: u128 , vesting_schedule : :: core :: option :: Option < (:: core :: primitive :: u128 , :: core :: primitive :: u128 , :: core :: primitive :: u32 ,) > , statement : :: core :: option :: Option < runtime_types :: polkadot_runtime_common :: claims :: StatementKind > , } , # [codec (index = 2)] # [doc = "Make a claim to collect your DOTs by signing a statement."] # [doc = ""] # [doc = "The dispatch origin for this call must be _None_."] # [doc = ""] # [doc = "Unsigned Validation:"] # [doc = "A call to `claim_attest` is deemed valid if the signature provided matches"] # [doc = "the expected signed message of:"] # [doc = ""] # [doc = "> Ethereum Signed Message:"] # [doc = "> (configured prefix string)(address)(statement)"] # [doc = ""] # [doc = "and `address` matches the `dest` account; the `statement` must match that which is"] # [doc = "expected according to your purchase arrangement."] # [doc = ""] # [doc = "Parameters:"] # [doc = "- `dest`: The destination account to payout the claim."] # [doc = "- `ethereum_signature`: The signature of an ethereum signed message"] # [doc = " matching the format described above."] # [doc = "- `statement`: The identity of the statement which is being attested to in the signature."] # [doc = ""] # [doc = ""] # [doc = "The weight of this call is invariant over the input parameters."] # [doc = "Weight includes logic to validate unsigned `claim_attest` call."] # [doc = ""] # [doc = "Total Complexity: O(1)"] # [doc = ""] claim_attest { dest : :: subxt :: utils :: AccountId32 , ethereum_signature : runtime_types :: polkadot_runtime_common :: claims :: EcdsaSignature , statement : :: std :: vec :: Vec < :: core :: primitive :: u8 > , } , # [codec (index = 3)] # [doc = "Attest to a statement, needed to finalize the claims process."] # [doc = ""] # [doc = "WARNING: Insecure unless your chain includes `PrevalidateAttests` as a `SignedExtension`."] # [doc = ""] # [doc = "Unsigned Validation:"] # [doc = "A call to attest is deemed valid if the sender has a `Preclaim` registered"] # [doc = "and provides a `statement` which is expected for the account."] # [doc = ""] # [doc = "Parameters:"] # [doc = "- `statement`: The identity of the statement which is being attested to in the signature."] # [doc = ""] # [doc = ""] # [doc = "The weight of this call is invariant over the input parameters."] # [doc = "Weight includes logic to do pre-validation on `attest` call."] # [doc = ""] # [doc = "Total Complexity: O(1)"] # [doc = ""] attest { statement : :: std :: vec :: Vec < :: core :: primitive :: u8 > , } , # [codec (index = 4)] move_claim { old : runtime_types :: polkadot_runtime_common :: claims :: EthereumAddress , new : runtime_types :: polkadot_runtime_common :: claims :: EthereumAddress , maybe_preclaim : :: core :: option :: Option < :: subxt :: utils :: AccountId32 > , } , } + #[codec(index = 0)] + #[doc = "Make a claim to collect your DOTs."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _None_."] + #[doc = ""] + #[doc = "Unsigned Validation:"] + #[doc = "A call to claim is deemed valid if the signature provided matches"] + #[doc = "the expected signed message of:"] + #[doc = ""] + #[doc = "> Ethereum Signed Message:"] + #[doc = "> (configured prefix string)(address)"] + #[doc = ""] + #[doc = "and `address` matches the `dest` account."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `dest`: The destination account to payout the claim."] + #[doc = "- `ethereum_signature`: The signature of an ethereum signed message"] + #[doc = " matching the format described above."] + #[doc = ""] + #[doc = ""] + #[doc = "The weight of this call is invariant over the input parameters."] + #[doc = "Weight includes logic to validate unsigned `claim` call."] + #[doc = ""] + #[doc = "Total Complexity: O(1)"] + #[doc = ""] + claim { + dest: ::subxt::utils::AccountId32, + ethereum_signature: + runtime_types::polkadot_runtime_common::claims::EcdsaSignature, + }, + #[codec(index = 1)] + #[doc = "Mint a new claim to collect DOTs."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Root_."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `who`: The Ethereum address allowed to collect this claim."] + #[doc = "- `value`: The number of DOTs that will be claimed."] + #[doc = "- `vesting_schedule`: An optional vesting schedule for these DOTs."] + #[doc = ""] + #[doc = ""] + #[doc = "The weight of this call is invariant over the input parameters."] + #[doc = "We assume worst case that both vesting and statement is being inserted."] + #[doc = ""] + #[doc = "Total Complexity: O(1)"] + #[doc = ""] + mint_claim { + who: runtime_types::polkadot_runtime_common::claims::EthereumAddress, + value: ::core::primitive::u128, + vesting_schedule: ::core::option::Option<( + ::core::primitive::u128, + ::core::primitive::u128, + ::core::primitive::u32, + )>, + statement: ::core::option::Option< + runtime_types::polkadot_runtime_common::claims::StatementKind, + >, + }, + #[codec(index = 2)] + #[doc = "Make a claim to collect your DOTs by signing a statement."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _None_."] + #[doc = ""] + #[doc = "Unsigned Validation:"] + #[doc = "A call to `claim_attest` is deemed valid if the signature provided matches"] + #[doc = "the expected signed message of:"] + #[doc = ""] + #[doc = "> Ethereum Signed Message:"] + #[doc = "> (configured prefix string)(address)(statement)"] + #[doc = ""] + #[doc = "and `address` matches the `dest` account; the `statement` must match that which is"] + #[doc = "expected according to your purchase arrangement."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `dest`: The destination account to payout the claim."] + #[doc = "- `ethereum_signature`: The signature of an ethereum signed message"] + #[doc = " matching the format described above."] + #[doc = "- `statement`: The identity of the statement which is being attested to in the signature."] + #[doc = ""] + #[doc = ""] + #[doc = "The weight of this call is invariant over the input parameters."] + #[doc = "Weight includes logic to validate unsigned `claim_attest` call."] + #[doc = ""] + #[doc = "Total Complexity: O(1)"] + #[doc = ""] + claim_attest { + dest: ::subxt::utils::AccountId32, + ethereum_signature: + runtime_types::polkadot_runtime_common::claims::EcdsaSignature, + statement: ::std::vec::Vec<::core::primitive::u8>, + }, + #[codec(index = 3)] + #[doc = "Attest to a statement, needed to finalize the claims process."] + #[doc = ""] + #[doc = "WARNING: Insecure unless your chain includes `PrevalidateAttests` as a `SignedExtension`."] + #[doc = ""] + #[doc = "Unsigned Validation:"] + #[doc = "A call to attest is deemed valid if the sender has a `Preclaim` registered"] + #[doc = "and provides a `statement` which is expected for the account."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `statement`: The identity of the statement which is being attested to in the signature."] + #[doc = ""] + #[doc = ""] + #[doc = "The weight of this call is invariant over the input parameters."] + #[doc = "Weight includes logic to do pre-validation on `attest` call."] + #[doc = ""] + #[doc = "Total Complexity: O(1)"] + #[doc = ""] + attest { + statement: ::std::vec::Vec<::core::primitive::u8>, + }, + #[codec(index = 4)] + move_claim { + old: runtime_types::polkadot_runtime_common::claims::EthereumAddress, + new: runtime_types::polkadot_runtime_common::claims::EthereumAddress, + maybe_preclaim: ::core::option::Option<::subxt::utils::AccountId32>, + }, + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -42039,7 +41563,15 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] pub enum Event { - # [codec (index = 0)] # [doc = "Someone claimed some DOTs."] Claimed { who : :: subxt :: utils :: AccountId32 , ethereum_address : runtime_types :: polkadot_runtime_common :: claims :: EthereumAddress , amount : :: core :: primitive :: u128 , } , } + #[codec(index = 0)] + #[doc = "Someone claimed some DOTs."] + Claimed { + who: ::subxt::utils::AccountId32, + ethereum_address: + runtime_types::polkadot_runtime_common::claims::EthereumAddress, + amount: ::core::primitive::u128, + }, + } } #[derive( :: subxt :: ext :: codec :: Decode, @@ -42118,9 +41650,8 @@ pub mod api { last_period: ::core::primitive::u32, #[codec(compact)] end: ::core::primitive::u32, - verifier: ::core::option::Option< - runtime_types::sp_runtime::MultiSigner, - >, + verifier: + ::core::option::Option, }, #[codec(index = 1)] #[doc = "Contribute to a crowd sale. This will transfer some balance over to fund a parachain"] @@ -42130,9 +41661,8 @@ pub mod api { index: runtime_types::polkadot_parachain::primitives::Id, #[codec(compact)] value: ::core::primitive::u128, - signature: ::core::option::Option< - runtime_types::sp_runtime::MultiSignature, - >, + signature: + ::core::option::Option, }, #[codec(index = 2)] #[doc = "Withdraw full balance of a specific contributor."] @@ -42188,9 +41718,8 @@ pub mod api { last_period: ::core::primitive::u32, #[codec(compact)] end: ::core::primitive::u32, - verifier: ::core::option::Option< - runtime_types::sp_runtime::MultiSigner, - >, + verifier: + ::core::option::Option, }, #[codec(index = 6)] #[doc = "Add an optional memo to an existing crowdloan contribution."] @@ -42213,9 +41742,8 @@ pub mod api { contribute_all { #[codec(compact)] index: runtime_types::polkadot_parachain::primitives::Id, - signature: ::core::option::Option< - runtime_types::sp_runtime::MultiSignature, - >, + signature: + ::core::option::Option, }, } #[derive( @@ -42382,7 +41910,21 @@ pub mod api { )] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct FundInfo < _0 , _1 , _2 , _3 > { pub depositor : _0 , pub verifier : :: core :: option :: Option < runtime_types :: sp_runtime :: MultiSigner > , pub deposit : _1 , pub raised : _1 , pub end : _2 , 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 struct FundInfo<_0, _1, _2, _3> { + pub depositor: _0, + pub verifier: ::core::option::Option, + pub deposit: _1, + pub raised: _1, + pub end: _2, + 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>, + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -42416,7 +41958,114 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub enum Call { - # [codec (index = 0)] # [doc = "Register head data and validation code for a reserved Para Id."] # [doc = ""] # [doc = "## Arguments"] # [doc = "- `origin`: Must be called by a `Signed` origin."] # [doc = "- `id`: The para ID. Must be owned/managed by the `origin` signing account."] # [doc = "- `genesis_head`: The genesis head data of the parachain/thread."] # [doc = "- `validation_code`: The initial validation code of the parachain/thread."] # [doc = ""] # [doc = "## Deposits/Fees"] # [doc = "The origin signed account must reserve a corresponding deposit for the registration. Anything already"] # [doc = "reserved previously for this para ID is accounted for."] # [doc = ""] # [doc = "## Events"] # [doc = "The `Registered` event is emitted in case of success."] register { 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 = 1)] # [doc = "Force the registration of a Para Id on the relay chain."] # [doc = ""] # [doc = "This function must be called by a Root origin."] # [doc = ""] # [doc = "The deposit taken can be specified for this registration. Any `ParaId`"] # [doc = "can be registered, including sub-1000 IDs which are System Parachains."] force_register { who : :: subxt :: utils :: 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)] # [doc = "Deregister a Para Id, freeing all data and returning any deposit."] # [doc = ""] # [doc = "The caller must be Root, the `para` owner, or the `para` itself. The para must be a parathread."] deregister { id : runtime_types :: polkadot_parachain :: primitives :: Id , } , # [codec (index = 3)] # [doc = "Swap a parachain with another parachain or parathread."] # [doc = ""] # [doc = "The origin must be Root, the `para` owner, or the `para` itself."] # [doc = ""] # [doc = "The swap will happen only if there is already an opposite swap pending. If there is not,"] # [doc = "the swap will be stored in the pending swaps map, ready for a later confirmatory swap."] # [doc = ""] # [doc = "The `ParaId`s remain mapped to the same head data and code so external code can rely on"] # [doc = "`ParaId` to be a long-term identifier of a notional \"parachain\". However, their"] # [doc = "scheduling info (i.e. whether they're a parathread or parachain), auction information"] # [doc = "and the auction deposit are switched."] swap { id : runtime_types :: polkadot_parachain :: primitives :: Id , other : runtime_types :: polkadot_parachain :: primitives :: Id , } , # [codec (index = 4)] # [doc = "Remove a manager lock from a para. This will allow the manager of a"] # [doc = "previously locked para to deregister or swap a para without using governance."] # [doc = ""] # [doc = "Can only be called by the Root origin or the parachain."] remove_lock { para : runtime_types :: polkadot_parachain :: primitives :: Id , } , # [codec (index = 5)] # [doc = "Reserve a Para Id on the relay chain."] # [doc = ""] # [doc = "This function will reserve a new Para Id to be owned/managed by the origin account."] # [doc = "The origin account is able to register head data and validation code using `register` to create"] # [doc = "a parathread. Using the Slots pallet, a parathread can then be upgraded to get a parachain slot."] # [doc = ""] # [doc = "## Arguments"] # [doc = "- `origin`: Must be called by a `Signed` origin. Becomes the manager/owner of the new para ID."] # [doc = ""] # [doc = "## Deposits/Fees"] # [doc = "The origin must reserve a deposit of `ParaDeposit` for the registration."] # [doc = ""] # [doc = "## Events"] # [doc = "The `Reserved` event is emitted in case of success, which provides the ID reserved for use."] reserve , # [codec (index = 6)] # [doc = "Add a manager lock from a para. This will prevent the manager of a"] # [doc = "para to deregister or swap a para."] # [doc = ""] # [doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked."] add_lock { para : runtime_types :: polkadot_parachain :: primitives :: Id , } , # [codec (index = 7)] # [doc = "Schedule a parachain upgrade."] # [doc = ""] # [doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked."] schedule_code_upgrade { para : runtime_types :: polkadot_parachain :: primitives :: Id , new_code : runtime_types :: polkadot_parachain :: primitives :: ValidationCode , } , # [codec (index = 8)] # [doc = "Set the parachain's current head."] # [doc = ""] # [doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked."] set_current_head { para : runtime_types :: polkadot_parachain :: primitives :: Id , new_head : runtime_types :: polkadot_parachain :: primitives :: HeadData , } , } + #[codec(index = 0)] + #[doc = "Register head data and validation code for a reserved Para Id."] + #[doc = ""] + #[doc = "## Arguments"] + #[doc = "- `origin`: Must be called by a `Signed` origin."] + #[doc = "- `id`: The para ID. Must be owned/managed by the `origin` signing account."] + #[doc = "- `genesis_head`: The genesis head data of the parachain/thread."] + #[doc = "- `validation_code`: The initial validation code of the parachain/thread."] + #[doc = ""] + #[doc = "## Deposits/Fees"] + #[doc = "The origin signed account must reserve a corresponding deposit for the registration. Anything already"] + #[doc = "reserved previously for this para ID is accounted for."] + #[doc = ""] + #[doc = "## Events"] + #[doc = "The `Registered` event is emitted in case of success."] + register { + 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 = 1)] + #[doc = "Force the registration of a Para Id on the relay chain."] + #[doc = ""] + #[doc = "This function must be called by a Root origin."] + #[doc = ""] + #[doc = "The deposit taken can be specified for this registration. Any `ParaId`"] + #[doc = "can be registered, including sub-1000 IDs which are System Parachains."] + force_register { + who: ::subxt::utils::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)] + #[doc = "Deregister a Para Id, freeing all data and returning any deposit."] + #[doc = ""] + #[doc = "The caller must be Root, the `para` owner, or the `para` itself. The para must be a parathread."] + deregister { + id: runtime_types::polkadot_parachain::primitives::Id, + }, + #[codec(index = 3)] + #[doc = "Swap a parachain with another parachain or parathread."] + #[doc = ""] + #[doc = "The origin must be Root, the `para` owner, or the `para` itself."] + #[doc = ""] + #[doc = "The swap will happen only if there is already an opposite swap pending. If there is not,"] + #[doc = "the swap will be stored in the pending swaps map, ready for a later confirmatory swap."] + #[doc = ""] + #[doc = "The `ParaId`s remain mapped to the same head data and code so external code can rely on"] + #[doc = "`ParaId` to be a long-term identifier of a notional \"parachain\". However, their"] + #[doc = "scheduling info (i.e. whether they're a parathread or parachain), auction information"] + #[doc = "and the auction deposit are switched."] + swap { + id: runtime_types::polkadot_parachain::primitives::Id, + other: runtime_types::polkadot_parachain::primitives::Id, + }, + #[codec(index = 4)] + #[doc = "Remove a manager lock from a para. This will allow the manager of a"] + #[doc = "previously locked para to deregister or swap a para without using governance."] + #[doc = ""] + #[doc = "Can only be called by the Root origin or the parachain."] + remove_lock { + para: runtime_types::polkadot_parachain::primitives::Id, + }, + #[codec(index = 5)] + #[doc = "Reserve a Para Id on the relay chain."] + #[doc = ""] + #[doc = "This function will reserve a new Para Id to be owned/managed by the origin account."] + #[doc = "The origin account is able to register head data and validation code using `register` to create"] + #[doc = "a parathread. Using the Slots pallet, a parathread can then be upgraded to get a parachain slot."] + #[doc = ""] + #[doc = "## Arguments"] + #[doc = "- `origin`: Must be called by a `Signed` origin. Becomes the manager/owner of the new para ID."] + #[doc = ""] + #[doc = "## Deposits/Fees"] + #[doc = "The origin must reserve a deposit of `ParaDeposit` for the registration."] + #[doc = ""] + #[doc = "## Events"] + #[doc = "The `Reserved` event is emitted in case of success, which provides the ID reserved for use."] + reserve, + #[codec(index = 6)] + #[doc = "Add a manager lock from a para. This will prevent the manager of a"] + #[doc = "para to deregister or swap a para."] + #[doc = ""] + #[doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked."] + add_lock { + para: runtime_types::polkadot_parachain::primitives::Id, + }, + #[codec(index = 7)] + #[doc = "Schedule a parachain upgrade."] + #[doc = ""] + #[doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked."] + schedule_code_upgrade { + para: runtime_types::polkadot_parachain::primitives::Id, + new_code: runtime_types::polkadot_parachain::primitives::ValidationCode, + }, + #[codec(index = 8)] + #[doc = "Set the parachain's current head."] + #[doc = ""] + #[doc = "Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked."] + set_current_head { + para: runtime_types::polkadot_parachain::primitives::Id, + new_head: runtime_types::polkadot_parachain::primitives::HeadData, + }, + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -42686,9 +42335,7 @@ pub mod api { set_dispute_max_spam_slots { new: ::core::primitive::u32 }, #[codec(index = 17)] #[doc = "Set the dispute conclusion by time out period."] - set_dispute_conclusion_by_time_out_period { - new: ::core::primitive::u32, - }, + set_dispute_conclusion_by_time_out_period { new: ::core::primitive::u32 }, #[codec(index = 18)] #[doc = "Set the no show slots, in number of number of consensus slots."] #[doc = "Must be at least 1."] @@ -42724,9 +42371,7 @@ pub mod api { set_max_upward_message_size { new: ::core::primitive::u32 }, #[codec(index = 28)] #[doc = "Sets the maximum number of messages that a candidate can contain."] - set_max_upward_message_num_per_candidate { - new: ::core::primitive::u32, - }, + set_max_upward_message_num_per_candidate { new: ::core::primitive::u32 }, #[codec(index = 29)] #[doc = "Sets the number of sessions after which an HRMP open channel request expires."] set_hrmp_open_request_ttl { new: ::core::primitive::u32 }, @@ -42745,32 +42390,22 @@ pub mod api { set_hrmp_channel_max_total_size { new: ::core::primitive::u32 }, #[codec(index = 34)] #[doc = "Sets the maximum number of inbound HRMP channels a parachain is allowed to accept."] - set_hrmp_max_parachain_inbound_channels { - new: ::core::primitive::u32, - }, + set_hrmp_max_parachain_inbound_channels { new: ::core::primitive::u32 }, #[codec(index = 35)] #[doc = "Sets the maximum number of inbound HRMP channels a parathread is allowed to accept."] - set_hrmp_max_parathread_inbound_channels { - new: ::core::primitive::u32, - }, + set_hrmp_max_parathread_inbound_channels { new: ::core::primitive::u32 }, #[codec(index = 36)] #[doc = "Sets the maximum size of a message that could ever be put into an HRMP channel."] set_hrmp_channel_max_message_size { new: ::core::primitive::u32 }, #[codec(index = 37)] #[doc = "Sets the maximum number of outbound HRMP channels a parachain is allowed to open."] - set_hrmp_max_parachain_outbound_channels { - new: ::core::primitive::u32, - }, + set_hrmp_max_parachain_outbound_channels { new: ::core::primitive::u32 }, #[codec(index = 38)] #[doc = "Sets the maximum number of outbound HRMP channels a parathread is allowed to open."] - set_hrmp_max_parathread_outbound_channels { - new: ::core::primitive::u32, - }, + set_hrmp_max_parathread_outbound_channels { new: ::core::primitive::u32 }, #[codec(index = 39)] #[doc = "Sets the maximum number of outbound HRMP messages can be sent by a candidate."] - set_hrmp_max_message_num_per_candidate { - new: ::core::primitive::u32, - }, + set_hrmp_max_message_num_per_candidate { new: ::core::primitive::u32 }, #[codec(index = 40)] #[doc = "Sets the maximum amount of weight any individual upward message may consume."] set_ump_max_individual_weight { @@ -42787,9 +42422,7 @@ pub mod api { #[doc = "upgrade taking place."] #[doc = ""] #[doc = "See the field documentation for information and constraints for the new value."] - set_minimum_validation_upgrade_delay { - new: ::core::primitive::u32, - }, + set_minimum_validation_upgrade_delay { new: ::core::primitive::u32 }, #[codec(index = 44)] #[doc = "Setting this to true will disable consistency checks for the configuration setters."] #[doc = "Use with caution."] @@ -42832,8 +42465,7 @@ pub mod api { pub validation_upgrade_delay: _0, pub max_pov_size: _0, pub max_downward_message_size: _0, - pub ump_service_total_weight: - runtime_types::sp_weights::weight_v2::Weight, + pub ump_service_total_weight: runtime_types::sp_weights::weight_v2::Weight, pub hrmp_max_parachain_outbound_channels: _0, pub hrmp_max_parathread_outbound_channels: _0, pub hrmp_sender_deposit: ::core::primitive::u128, @@ -42861,8 +42493,7 @@ pub mod api { pub zeroth_delay_tranche_width: _0, pub needed_approvals: _0, pub relay_vrf_modulo_samples: _0, - pub ump_max_individual_weight: - runtime_types::sp_weights::weight_v2::Weight, + pub ump_max_individual_weight: runtime_types::sp_weights::weight_v2::Weight, pub pvf_checking_enabled: ::core::primitive::bool, pub pvf_voting_ttl: _0, pub minimum_validation_upgrade_delay: _0, @@ -42930,7 +42561,30 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] pub enum Event { - # [codec (index = 0)] # [doc = "A dispute has been initiated. \\[candidate hash, dispute location\\]"] DisputeInitiated (runtime_types :: polkadot_core_primitives :: CandidateHash , runtime_types :: polkadot_runtime_parachains :: disputes :: DisputeLocation ,) , # [codec (index = 1)] # [doc = "A dispute has concluded for or against a candidate."] # [doc = "`\\[para id, candidate hash, dispute result\\]`"] DisputeConcluded (runtime_types :: polkadot_core_primitives :: CandidateHash , runtime_types :: polkadot_runtime_parachains :: disputes :: DisputeResult ,) , # [codec (index = 2)] # [doc = "A dispute has timed out due to insufficient participation."] # [doc = "`\\[para id, candidate hash\\]`"] DisputeTimedOut (runtime_types :: polkadot_core_primitives :: CandidateHash ,) , # [codec (index = 3)] # [doc = "A dispute has concluded with supermajority against a candidate."] # [doc = "Block authors should no longer build on top of this head and should"] # [doc = "instead revert the block at the given height. This should be the"] # [doc = "number of the child of the last known valid block in the chain."] Revert (:: core :: primitive :: u32 ,) , } + #[codec(index = 0)] + #[doc = "A dispute has been initiated. \\[candidate hash, dispute location\\]"] + DisputeInitiated( + runtime_types::polkadot_core_primitives::CandidateHash, + runtime_types::polkadot_runtime_parachains::disputes::DisputeLocation, + ), + #[codec(index = 1)] + #[doc = "A dispute has concluded for or against a candidate."] + #[doc = "`\\[para id, candidate hash, dispute result\\]`"] + DisputeConcluded( + runtime_types::polkadot_core_primitives::CandidateHash, + runtime_types::polkadot_runtime_parachains::disputes::DisputeResult, + ), + #[codec(index = 2)] + #[doc = "A dispute has timed out due to insufficient participation."] + #[doc = "`\\[para id, candidate hash\\]`"] + DisputeTimedOut(runtime_types::polkadot_core_primitives::CandidateHash), + #[codec(index = 3)] + #[doc = "A dispute has concluded with supermajority against a candidate."] + #[doc = "Block authors should no longer build on top of this head and should"] + #[doc = "instead revert the block at the given height. This should be the"] + #[doc = "number of the child of the last known valid block in the chain."] + Revert(::core::primitive::u32), + } } #[derive( :: subxt :: ext :: codec :: Decode, @@ -42995,7 +42649,95 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub enum Call { - # [codec (index = 0)] # [doc = "Initiate opening a channel from a parachain to a given recipient with given channel"] # [doc = "parameters."] # [doc = ""] # [doc = "- `proposed_max_capacity` - specifies how many messages can be in the channel at once."] # [doc = "- `proposed_max_message_size` - specifies the maximum size of the messages."] # [doc = ""] # [doc = "These numbers are a subject to the relay-chain configuration limits."] # [doc = ""] # [doc = "The channel can be opened only after the recipient confirms it and only on a session"] # [doc = "change."] 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)] # [doc = "Accept a pending open channel request from the given sender."] # [doc = ""] # [doc = "The channel will be opened only on the next session boundary."] hrmp_accept_open_channel { sender : runtime_types :: polkadot_parachain :: primitives :: Id , } , # [codec (index = 2)] # [doc = "Initiate unilateral closing of a channel. The origin must be either the sender or the"] # [doc = "recipient in the channel being closed."] # [doc = ""] # [doc = "The closure can only happen on a session change."] hrmp_close_channel { channel_id : runtime_types :: polkadot_parachain :: primitives :: HrmpChannelId , } , # [codec (index = 3)] # [doc = "This extrinsic triggers the cleanup of all the HRMP storage items that"] # [doc = "a para may have. Normally this happens once per session, but this allows"] # [doc = "you to trigger the cleanup immediately for a specific parachain."] # [doc = ""] # [doc = "Origin must be Root."] # [doc = ""] # [doc = "Number of inbound and outbound channels for `para` must be provided as witness data of weighing."] force_clean_hrmp { para : runtime_types :: polkadot_parachain :: primitives :: Id , inbound : :: core :: primitive :: u32 , outbound : :: core :: primitive :: u32 , } , # [codec (index = 4)] # [doc = "Force process HRMP open channel requests."] # [doc = ""] # [doc = "If there are pending HRMP open channel requests, you can use this"] # [doc = "function process all of those requests immediately."] # [doc = ""] # [doc = "Total number of opening channels must be provided as witness data of weighing."] force_process_hrmp_open { channels : :: core :: primitive :: u32 , } , # [codec (index = 5)] # [doc = "Force process HRMP close channel requests."] # [doc = ""] # [doc = "If there are pending HRMP close channel requests, you can use this"] # [doc = "function process all of those requests immediately."] # [doc = ""] # [doc = "Total number of closing channels must be provided as witness data of weighing."] force_process_hrmp_close { channels : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "This cancels a pending open channel request. It can be canceled by either of the sender"] # [doc = "or the recipient for that request. The origin must be either of those."] # [doc = ""] # [doc = "The cancellation happens immediately. It is not possible to cancel the request if it is"] # [doc = "already accepted."] # [doc = ""] # [doc = "Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as"] # [doc = "witness data."] hrmp_cancel_open_request { channel_id : runtime_types :: polkadot_parachain :: primitives :: HrmpChannelId , open_requests : :: core :: primitive :: u32 , } , # [codec (index = 7)] # [doc = "Open a channel from a `sender` to a `recipient` `ParaId` using the Root origin. Although"] # [doc = "opened by Root, the `max_capacity` and `max_message_size` are still subject to the Relay"] # [doc = "Chain's configured limits."] # [doc = ""] # [doc = "Expected use is when one of the `ParaId`s involved in the channel is governed by the"] # [doc = "Relay Chain, e.g. a common good parachain."] 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 , } , } + #[codec(index = 0)] + #[doc = "Initiate opening a channel from a parachain to a given recipient with given channel"] + #[doc = "parameters."] + #[doc = ""] + #[doc = "- `proposed_max_capacity` - specifies how many messages can be in the channel at once."] + #[doc = "- `proposed_max_message_size` - specifies the maximum size of the messages."] + #[doc = ""] + #[doc = "These numbers are a subject to the relay-chain configuration limits."] + #[doc = ""] + #[doc = "The channel can be opened only after the recipient confirms it and only on a session"] + #[doc = "change."] + 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)] + #[doc = "Accept a pending open channel request from the given sender."] + #[doc = ""] + #[doc = "The channel will be opened only on the next session boundary."] + hrmp_accept_open_channel { + sender: runtime_types::polkadot_parachain::primitives::Id, + }, + #[codec(index = 2)] + #[doc = "Initiate unilateral closing of a channel. The origin must be either the sender or the"] + #[doc = "recipient in the channel being closed."] + #[doc = ""] + #[doc = "The closure can only happen on a session change."] + hrmp_close_channel { + channel_id: + runtime_types::polkadot_parachain::primitives::HrmpChannelId, + }, + #[codec(index = 3)] + #[doc = "This extrinsic triggers the cleanup of all the HRMP storage items that"] + #[doc = "a para may have. Normally this happens once per session, but this allows"] + #[doc = "you to trigger the cleanup immediately for a specific parachain."] + #[doc = ""] + #[doc = "Origin must be Root."] + #[doc = ""] + #[doc = "Number of inbound and outbound channels for `para` must be provided as witness data of weighing."] + force_clean_hrmp { + para: runtime_types::polkadot_parachain::primitives::Id, + inbound: ::core::primitive::u32, + outbound: ::core::primitive::u32, + }, + #[codec(index = 4)] + #[doc = "Force process HRMP open channel requests."] + #[doc = ""] + #[doc = "If there are pending HRMP open channel requests, you can use this"] + #[doc = "function process all of those requests immediately."] + #[doc = ""] + #[doc = "Total number of opening channels must be provided as witness data of weighing."] + force_process_hrmp_open { channels: ::core::primitive::u32 }, + #[codec(index = 5)] + #[doc = "Force process HRMP close channel requests."] + #[doc = ""] + #[doc = "If there are pending HRMP close channel requests, you can use this"] + #[doc = "function process all of those requests immediately."] + #[doc = ""] + #[doc = "Total number of closing channels must be provided as witness data of weighing."] + force_process_hrmp_close { channels: ::core::primitive::u32 }, + #[codec(index = 6)] + #[doc = "This cancels a pending open channel request. It can be canceled by either of the sender"] + #[doc = "or the recipient for that request. The origin must be either of those."] + #[doc = ""] + #[doc = "The cancellation happens immediately. It is not possible to cancel the request if it is"] + #[doc = "already accepted."] + #[doc = ""] + #[doc = "Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as"] + #[doc = "witness data."] + hrmp_cancel_open_request { + channel_id: + runtime_types::polkadot_parachain::primitives::HrmpChannelId, + open_requests: ::core::primitive::u32, + }, + #[codec(index = 7)] + #[doc = "Open a channel from a `sender` to a `recipient` `ParaId` using the Root origin. Although"] + #[doc = "opened by Root, the `max_capacity` and `max_message_size` are still subject to the Relay"] + #[doc = "Chain's configured limits."] + #[doc = ""] + #[doc = "Expected use is when one of the `ParaId`s involved in the channel is governed by the"] + #[doc = "Relay Chain, e.g. a common good parachain."] + 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( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -43321,8 +43063,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AvailabilityBitfieldRecord<_0> { - pub bitfield: - runtime_types::polkadot_primitives::v2::AvailabilityBitfield, + pub bitfield: runtime_types::polkadot_primitives::v2::AvailabilityBitfield, pub submitted_at: _0, } #[derive( @@ -43337,8 +43078,7 @@ pub mod api { pub struct CandidatePendingAvailability<_0, _1> { pub core: runtime_types::polkadot_primitives::v2::CoreIndex, pub hash: runtime_types::polkadot_core_primitives::CandidateHash, - pub descriptor: - runtime_types::polkadot_primitives::v2::CandidateDescriptor<_0>, + pub descriptor: runtime_types::polkadot_primitives::v2::CandidateDescriptor<_0>, pub availability_votes: ::subxt::utils::bits::DecodedBits< ::core::primitive::u8, ::subxt::utils::bits::Lsb0, @@ -43427,7 +43167,75 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub enum Call { - # [codec (index = 0)] # [doc = "Set the storage for the parachain validation code immediately."] force_set_current_code { para : runtime_types :: polkadot_parachain :: primitives :: Id , new_code : runtime_types :: polkadot_parachain :: primitives :: ValidationCode , } , # [codec (index = 1)] # [doc = "Set the storage for the current parachain head data immediately."] force_set_current_head { para : runtime_types :: polkadot_parachain :: primitives :: Id , new_head : runtime_types :: polkadot_parachain :: primitives :: HeadData , } , # [codec (index = 2)] # [doc = "Schedule an upgrade as if it was scheduled in the given relay parent block."] 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)] # [doc = "Note a new block head for para within the context of the current block."] force_note_new_head { para : runtime_types :: polkadot_parachain :: primitives :: Id , new_head : runtime_types :: polkadot_parachain :: primitives :: HeadData , } , # [codec (index = 4)] # [doc = "Put a parachain directly into the next session's action queue."] # [doc = "We can't queue it any sooner than this without going into the"] # [doc = "initializer..."] force_queue_action { para : runtime_types :: polkadot_parachain :: primitives :: Id , } , # [codec (index = 5)] # [doc = "Adds the validation code to the storage."] # [doc = ""] # [doc = "The code will not be added if it is already present. Additionally, if PVF pre-checking"] # [doc = "is running for that code, it will be instantly accepted."] # [doc = ""] # [doc = "Otherwise, the code will be added into the storage. Note that the code will be added"] # [doc = "into storage with reference count 0. This is to account the fact that there are no users"] # [doc = "for this code yet. The caller will have to make sure that this code eventually gets"] # [doc = "used by some parachain or removed from the storage to avoid storage leaks. For the latter"] # [doc = "prefer to use the `poke_unused_validation_code` dispatchable to raw storage manipulation."] # [doc = ""] # [doc = "This function is mainly meant to be used for upgrading parachains that do not follow"] # [doc = "the go-ahead signal while the PVF pre-checking feature is enabled."] add_trusted_validation_code { validation_code : runtime_types :: polkadot_parachain :: primitives :: ValidationCode , } , # [codec (index = 6)] # [doc = "Remove the validation code from the storage iff the reference count is 0."] # [doc = ""] # [doc = "This is better than removing the storage directly, because it will not remove the code"] # [doc = "that was suddenly got used by some parachain while this dispatchable was pending"] # [doc = "dispatching."] poke_unused_validation_code { validation_code_hash : runtime_types :: polkadot_parachain :: primitives :: ValidationCodeHash , } , # [codec (index = 7)] # [doc = "Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and"] # [doc = "enacts the results if that was the last vote before achieving the supermajority."] include_pvf_check_statement { stmt : runtime_types :: polkadot_primitives :: v2 :: PvfCheckStatement , signature : runtime_types :: polkadot_primitives :: v2 :: validator_app :: Signature , } , } + #[codec(index = 0)] + #[doc = "Set the storage for the parachain validation code immediately."] + force_set_current_code { + para: runtime_types::polkadot_parachain::primitives::Id, + new_code: runtime_types::polkadot_parachain::primitives::ValidationCode, + }, + #[codec(index = 1)] + #[doc = "Set the storage for the current parachain head data immediately."] + force_set_current_head { + para: runtime_types::polkadot_parachain::primitives::Id, + new_head: runtime_types::polkadot_parachain::primitives::HeadData, + }, + #[codec(index = 2)] + #[doc = "Schedule an upgrade as if it was scheduled in the given relay parent block."] + 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)] + #[doc = "Note a new block head for para within the context of the current block."] + force_note_new_head { + para: runtime_types::polkadot_parachain::primitives::Id, + new_head: runtime_types::polkadot_parachain::primitives::HeadData, + }, + #[codec(index = 4)] + #[doc = "Put a parachain directly into the next session's action queue."] + #[doc = "We can't queue it any sooner than this without going into the"] + #[doc = "initializer..."] + force_queue_action { + para: runtime_types::polkadot_parachain::primitives::Id, + }, + #[codec(index = 5)] + #[doc = "Adds the validation code to the storage."] + #[doc = ""] + #[doc = "The code will not be added if it is already present. Additionally, if PVF pre-checking"] + #[doc = "is running for that code, it will be instantly accepted."] + #[doc = ""] + #[doc = "Otherwise, the code will be added into the storage. Note that the code will be added"] + #[doc = "into storage with reference count 0. This is to account the fact that there are no users"] + #[doc = "for this code yet. The caller will have to make sure that this code eventually gets"] + #[doc = "used by some parachain or removed from the storage to avoid storage leaks. For the latter"] + #[doc = "prefer to use the `poke_unused_validation_code` dispatchable to raw storage manipulation."] + #[doc = ""] + #[doc = "This function is mainly meant to be used for upgrading parachains that do not follow"] + #[doc = "the go-ahead signal while the PVF pre-checking feature is enabled."] + add_trusted_validation_code { + validation_code: + runtime_types::polkadot_parachain::primitives::ValidationCode, + }, + #[codec(index = 6)] + #[doc = "Remove the validation code from the storage iff the reference count is 0."] + #[doc = ""] + #[doc = "This is better than removing the storage directly, because it will not remove the code"] + #[doc = "that was suddenly got used by some parachain while this dispatchable was pending"] + #[doc = "dispatching."] + poke_unused_validation_code { + validation_code_hash: + runtime_types::polkadot_parachain::primitives::ValidationCodeHash, + }, + #[codec(index = 7)] + #[doc = "Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and"] + #[doc = "enacts the results if that was the last vote before achieving the supermajority."] + include_pvf_check_statement { + stmt: runtime_types::polkadot_primitives::v2::PvfCheckStatement, + signature: + runtime_types::polkadot_primitives::v2::validator_app::Signature, + }, + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -43491,7 +43299,46 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] pub enum Event { - # [codec (index = 0)] # [doc = "Current code has been updated for a Para. `para_id`"] CurrentCodeUpdated (runtime_types :: polkadot_parachain :: primitives :: Id ,) , # [codec (index = 1)] # [doc = "Current head has been updated for a Para. `para_id`"] CurrentHeadUpdated (runtime_types :: polkadot_parachain :: primitives :: Id ,) , # [codec (index = 2)] # [doc = "A code upgrade has been scheduled for a Para. `para_id`"] CodeUpgradeScheduled (runtime_types :: polkadot_parachain :: primitives :: Id ,) , # [codec (index = 3)] # [doc = "A new head has been noted for a Para. `para_id`"] NewHeadNoted (runtime_types :: polkadot_parachain :: primitives :: Id ,) , # [codec (index = 4)] # [doc = "A para has been queued to execute pending actions. `para_id`"] ActionQueued (runtime_types :: polkadot_parachain :: primitives :: Id , :: core :: primitive :: u32 ,) , # [codec (index = 5)] # [doc = "The given para either initiated or subscribed to a PVF check for the given validation"] # [doc = "code. `code_hash` `para_id`"] PvfCheckStarted (runtime_types :: polkadot_parachain :: primitives :: ValidationCodeHash , runtime_types :: polkadot_parachain :: primitives :: Id ,) , # [codec (index = 6)] # [doc = "The given validation code was accepted by the PVF pre-checking vote."] # [doc = "`code_hash` `para_id`"] PvfCheckAccepted (runtime_types :: polkadot_parachain :: primitives :: ValidationCodeHash , runtime_types :: polkadot_parachain :: primitives :: Id ,) , # [codec (index = 7)] # [doc = "The given validation code was rejected by the PVF pre-checking vote."] # [doc = "`code_hash` `para_id`"] PvfCheckRejected (runtime_types :: polkadot_parachain :: primitives :: ValidationCodeHash , runtime_types :: polkadot_parachain :: primitives :: Id ,) , } + #[codec(index = 0)] + #[doc = "Current code has been updated for a Para. `para_id`"] + CurrentCodeUpdated(runtime_types::polkadot_parachain::primitives::Id), + #[codec(index = 1)] + #[doc = "Current head has been updated for a Para. `para_id`"] + CurrentHeadUpdated(runtime_types::polkadot_parachain::primitives::Id), + #[codec(index = 2)] + #[doc = "A code upgrade has been scheduled for a Para. `para_id`"] + CodeUpgradeScheduled(runtime_types::polkadot_parachain::primitives::Id), + #[codec(index = 3)] + #[doc = "A new head has been noted for a Para. `para_id`"] + NewHeadNoted(runtime_types::polkadot_parachain::primitives::Id), + #[codec(index = 4)] + #[doc = "A para has been queued to execute pending actions. `para_id`"] + ActionQueued( + runtime_types::polkadot_parachain::primitives::Id, + ::core::primitive::u32, + ), + #[codec(index = 5)] + #[doc = "The given para either initiated or subscribed to a PVF check for the given validation"] + #[doc = "code. `code_hash` `para_id`"] + PvfCheckStarted( + runtime_types::polkadot_parachain::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain::primitives::Id, + ), + #[codec(index = 6)] + #[doc = "The given validation code was accepted by the PVF pre-checking vote."] + #[doc = "`code_hash` `para_id`"] + PvfCheckAccepted( + runtime_types::polkadot_parachain::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain::primitives::Id, + ), + #[codec(index = 7)] + #[doc = "The given validation code was rejected by the PVF pre-checking vote."] + #[doc = "`code_hash` `para_id`"] + PvfCheckRejected( + runtime_types::polkadot_parachain::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain::primitives::Id, + ), + } } #[derive( :: subxt :: ext :: codec :: Decode, @@ -43503,8 +43350,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ParaGenesisArgs { - pub genesis_head: - runtime_types::polkadot_parachain::primitives::HeadData, + pub genesis_head: runtime_types::polkadot_parachain::primitives::HeadData, pub validation_code: runtime_types::polkadot_parachain::primitives::ValidationCode, pub para_kind: ::core::primitive::bool, @@ -43543,7 +43389,12 @@ pub mod api { )] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct ParaPastCodeMeta < _0 > { pub upgrade_times : :: std :: vec :: Vec < runtime_types :: polkadot_runtime_parachains :: paras :: ReplacementTimes < _0 > > , pub last_pruned : :: core :: option :: Option < _0 > , } + pub struct ParaPastCodeMeta<_0> { + pub upgrade_times: ::std::vec::Vec< + runtime_types::polkadot_runtime_parachains::paras::ReplacementTimes<_0>, + >, + pub last_pruned: ::core::option::Option<_0>, + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -43565,9 +43416,7 @@ pub mod api { pub age: _0, pub created_at: _0, pub causes: ::std::vec::Vec< - runtime_types::polkadot_runtime_parachains::paras::PvfCheckCause< - _0, - >, + runtime_types::polkadot_runtime_parachains::paras::PvfCheckCause<_0>, >, } #[derive( @@ -43690,7 +43539,12 @@ pub mod api { )] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct CoreAssignment { pub core : runtime_types :: polkadot_primitives :: v2 :: 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 :: v2 :: GroupIndex , } + pub struct CoreAssignment { + pub core: runtime_types::polkadot_primitives::v2::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::v2::GroupIndex, + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -43700,7 +43554,12 @@ pub mod api { )] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct ParathreadClaimQueue { pub queue : :: std :: vec :: Vec < runtime_types :: polkadot_runtime_parachains :: scheduler :: QueuedParathread > , pub next_core_offset : :: core :: primitive :: u32 , } + pub struct ParathreadClaimQueue { + pub queue: ::std::vec::Vec< + runtime_types::polkadot_runtime_parachains::scheduler::QueuedParathread, + >, + pub next_core_offset: ::core::primitive::u32, + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -43974,7 +43833,15 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum PreDigest { - # [codec (index = 1)] Primary (runtime_types :: sp_consensus_babe :: digests :: PrimaryPreDigest ,) , # [codec (index = 2)] SecondaryPlain (runtime_types :: sp_consensus_babe :: digests :: SecondaryPlainPreDigest ,) , # [codec (index = 3)] SecondaryVRF (runtime_types :: sp_consensus_babe :: digests :: SecondaryVRFPreDigest ,) , } + #[codec(index = 1)] + Primary(runtime_types::sp_consensus_babe::digests::PrimaryPreDigest), + #[codec(index = 2)] + SecondaryPlain( + runtime_types::sp_consensus_babe::digests::SecondaryPlainPreDigest, + ), + #[codec(index = 3)] + SecondaryVRF(runtime_types::sp_consensus_babe::digests::SecondaryVRFPreDigest), + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -44094,9 +43961,7 @@ pub mod api { )] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct BoundedBTreeMap<_0, _1>( - pub ::subxt::utils::KeyedVec<_0, _1>, - ); + pub struct BoundedBTreeMap<_0, _1>(pub ::subxt::utils::KeyedVec<_0, _1>); } pub mod bounded_vec { use super::runtime_types; @@ -44207,9 +44072,8 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct OpaqueNetworkState { pub peer_id: runtime_types::sp_core::OpaquePeerId, - pub external_addresses: ::std::vec::Vec< - runtime_types::sp_core::offchain::OpaqueMultiaddr, - >, + pub external_addresses: + ::std::vec::Vec, } } pub mod sr25519 { @@ -44319,8 +44183,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct EquivocationProof<_0, _1> { pub set_id: ::core::primitive::u64, - pub equivocation: - runtime_types::sp_finality_grandpa::Equivocation<_0, _1>, + pub equivocation: runtime_types::sp_finality_grandpa::Equivocation<_0, _1>, } } pub mod sp_npos_elections { @@ -44369,9 +44232,8 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Digest { - pub logs: ::std::vec::Vec< - runtime_types::sp_runtime::generic::digest::DigestItem, - >, + pub logs: + ::std::vec::Vec, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -45177,10 +45039,8 @@ pub mod api { 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: + ::std::vec::Vec<([::core::primitive::u8; 8usize], ::core::primitive::u32)>, pub transaction_version: ::core::primitive::u32, pub state_version: ::core::primitive::u8, } @@ -45261,7 +45121,25 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum BodyId { - # [codec (index = 0)] Unit , # [codec (index = 1)] Named (runtime_types :: sp_core :: bounded :: weak_bounded_vec :: WeakBoundedVec < :: core :: primitive :: u8 > ,) , # [codec (index = 2)] Index (# [codec (compact)] :: core :: primitive :: u32 ,) , # [codec (index = 3)] Executive , # [codec (index = 4)] Technical , # [codec (index = 5)] Legislative , # [codec (index = 6)] Judicial , } + #[codec(index = 0)] + Unit, + #[codec(index = 1)] + Named( + runtime_types::sp_core::bounded::weak_bounded_vec::WeakBoundedVec< + ::core::primitive::u8, + >, + ), + #[codec(index = 2)] + Index(#[codec(compact)] ::core::primitive::u32), + #[codec(index = 3)] + Executive, + #[codec(index = 4)] + Technical, + #[codec(index = 5)] + Legislative, + #[codec(index = 6)] + Judicial, + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -45311,7 +45189,44 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Junction { - # [codec (index = 0)] Parent , # [codec (index = 1)] Parachain (# [codec (compact)] :: core :: primitive :: u32 ,) , # [codec (index = 2)] AccountId32 { network : runtime_types :: xcm :: v0 :: junction :: NetworkId , id : [:: core :: primitive :: u8 ; 32usize] , } , # [codec (index = 3)] AccountIndex64 { network : runtime_types :: xcm :: v0 :: junction :: NetworkId , # [codec (compact)] index : :: core :: primitive :: u64 , } , # [codec (index = 4)] AccountKey20 { network : runtime_types :: xcm :: v0 :: junction :: NetworkId , key : [:: core :: primitive :: u8 ; 20usize] , } , # [codec (index = 5)] PalletInstance (:: core :: primitive :: u8 ,) , # [codec (index = 6)] GeneralIndex (# [codec (compact)] :: core :: primitive :: u128 ,) , # [codec (index = 7)] GeneralKey (runtime_types :: sp_core :: bounded :: weak_bounded_vec :: WeakBoundedVec < :: core :: primitive :: u8 > ,) , # [codec (index = 8)] OnlyChild , # [codec (index = 9)] Plurality { id : runtime_types :: xcm :: v0 :: junction :: BodyId , part : runtime_types :: xcm :: v0 :: junction :: BodyPart , } , } + #[codec(index = 0)] + Parent, + #[codec(index = 1)] + Parachain(#[codec(compact)] ::core::primitive::u32), + #[codec(index = 2)] + AccountId32 { + network: runtime_types::xcm::v0::junction::NetworkId, + id: [::core::primitive::u8; 32usize], + }, + #[codec(index = 3)] + AccountIndex64 { + network: runtime_types::xcm::v0::junction::NetworkId, + #[codec(compact)] + index: ::core::primitive::u64, + }, + #[codec(index = 4)] + AccountKey20 { + network: runtime_types::xcm::v0::junction::NetworkId, + key: [::core::primitive::u8; 20usize], + }, + #[codec(index = 5)] + PalletInstance(::core::primitive::u8), + #[codec(index = 6)] + GeneralIndex(#[codec(compact)] ::core::primitive::u128), + #[codec(index = 7)] + GeneralKey( + runtime_types::sp_core::bounded::weak_bounded_vec::WeakBoundedVec< + ::core::primitive::u8, + >, + ), + #[codec(index = 8)] + OnlyChild, + #[codec(index = 9)] + Plurality { + id: runtime_types::xcm::v0::junction::BodyId, + part: runtime_types::xcm::v0::junction::BodyPart, + }, + } #[derive( :: subxt :: ext :: codec :: Decode, :: subxt :: ext :: codec :: Encode, @@ -45322,7 +45237,19 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum NetworkId { - # [codec (index = 0)] Any , # [codec (index = 1)] Named (runtime_types :: sp_core :: bounded :: weak_bounded_vec :: WeakBoundedVec < :: core :: primitive :: u8 > ,) , # [codec (index = 2)] Polkadot , # [codec (index = 3)] Kusama , } + #[codec(index = 0)] + Any, + #[codec(index = 1)] + Named( + runtime_types::sp_core::bounded::weak_bounded_vec::WeakBoundedVec< + ::core::primitive::u8, + >, + ), + #[codec(index = 2)] + Polkadot, + #[codec(index = 3)] + Kusama, + } } pub mod multi_asset { use super::runtime_types; @@ -45474,56 +45401,44 @@ pub mod api { Null, #[codec(index = 1)] DepositAsset { - assets: ::std::vec::Vec< - runtime_types::xcm::v0::multi_asset::MultiAsset, - >, + assets: + ::std::vec::Vec, dest: runtime_types::xcm::v0::multi_location::MultiLocation, }, #[codec(index = 2)] DepositReserveAsset { - assets: ::std::vec::Vec< - runtime_types::xcm::v0::multi_asset::MultiAsset, - >, + assets: + ::std::vec::Vec, dest: runtime_types::xcm::v0::multi_location::MultiLocation, - effects: - ::std::vec::Vec, + effects: ::std::vec::Vec, }, #[codec(index = 3)] ExchangeAsset { - give: ::std::vec::Vec< - runtime_types::xcm::v0::multi_asset::MultiAsset, - >, - receive: ::std::vec::Vec< - runtime_types::xcm::v0::multi_asset::MultiAsset, - >, + give: ::std::vec::Vec, + receive: + ::std::vec::Vec, }, #[codec(index = 4)] InitiateReserveWithdraw { - assets: ::std::vec::Vec< - runtime_types::xcm::v0::multi_asset::MultiAsset, - >, - reserve: - runtime_types::xcm::v0::multi_location::MultiLocation, - effects: - ::std::vec::Vec, + assets: + ::std::vec::Vec, + reserve: runtime_types::xcm::v0::multi_location::MultiLocation, + effects: ::std::vec::Vec, }, #[codec(index = 5)] InitiateTeleport { - assets: ::std::vec::Vec< - runtime_types::xcm::v0::multi_asset::MultiAsset, - >, + assets: + ::std::vec::Vec, dest: runtime_types::xcm::v0::multi_location::MultiLocation, - effects: - ::std::vec::Vec, + effects: ::std::vec::Vec, }, #[codec(index = 6)] QueryHolding { #[codec(compact)] query_id: ::core::primitive::u64, dest: runtime_types::xcm::v0::multi_location::MultiLocation, - assets: ::std::vec::Vec< - runtime_types::xcm::v0::multi_asset::MultiAsset, - >, + assets: + ::std::vec::Vec, }, #[codec(index = 7)] BuyExecution { @@ -45565,9 +45480,7 @@ pub mod api { #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Response { #[codec(index = 0)] - Assets( - ::std::vec::Vec, - ), + Assets(::std::vec::Vec), } #[derive( :: subxt :: ext :: codec :: Decode, @@ -45581,23 +45494,17 @@ pub mod api { pub enum Xcm { #[codec(index = 0)] WithdrawAsset { - assets: ::std::vec::Vec< - runtime_types::xcm::v0::multi_asset::MultiAsset, - >, + assets: ::std::vec::Vec, effects: ::std::vec::Vec, }, #[codec(index = 1)] ReserveAssetDeposit { - assets: ::std::vec::Vec< - runtime_types::xcm::v0::multi_asset::MultiAsset, - >, + assets: ::std::vec::Vec, effects: ::std::vec::Vec, }, #[codec(index = 2)] TeleportAsset { - assets: ::std::vec::Vec< - runtime_types::xcm::v0::multi_asset::MultiAsset, - >, + assets: ::std::vec::Vec, effects: ::std::vec::Vec, }, #[codec(index = 3)] @@ -45608,16 +45515,12 @@ pub mod api { }, #[codec(index = 4)] TransferAsset { - assets: ::std::vec::Vec< - runtime_types::xcm::v0::multi_asset::MultiAsset, - >, + assets: ::std::vec::Vec, dest: runtime_types::xcm::v0::multi_location::MultiLocation, }, #[codec(index = 5)] TransferReserveAsset { - assets: ::std::vec::Vec< - runtime_types::xcm::v0::multi_asset::MultiAsset, - >, + assets: ::std::vec::Vec, dest: runtime_types::xcm::v0::multi_location::MultiLocation, effects: ::std::vec::Vec, }, @@ -45671,7 +45574,42 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Junction { - # [codec (index = 0)] Parachain (# [codec (compact)] :: core :: primitive :: u32 ,) , # [codec (index = 1)] AccountId32 { network : runtime_types :: xcm :: v0 :: junction :: NetworkId , id : [:: core :: primitive :: u8 ; 32usize] , } , # [codec (index = 2)] AccountIndex64 { network : runtime_types :: xcm :: v0 :: junction :: NetworkId , # [codec (compact)] index : :: core :: primitive :: u64 , } , # [codec (index = 3)] AccountKey20 { network : runtime_types :: xcm :: v0 :: 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 (runtime_types :: sp_core :: bounded :: weak_bounded_vec :: WeakBoundedVec < :: core :: primitive :: u8 > ,) , # [codec (index = 7)] OnlyChild , # [codec (index = 8)] Plurality { id : runtime_types :: xcm :: v0 :: junction :: BodyId , part : runtime_types :: xcm :: v0 :: junction :: BodyPart , } , } + #[codec(index = 0)] + Parachain(#[codec(compact)] ::core::primitive::u32), + #[codec(index = 1)] + AccountId32 { + network: runtime_types::xcm::v0::junction::NetworkId, + id: [::core::primitive::u8; 32usize], + }, + #[codec(index = 2)] + AccountIndex64 { + network: runtime_types::xcm::v0::junction::NetworkId, + #[codec(compact)] + index: ::core::primitive::u64, + }, + #[codec(index = 3)] + AccountKey20 { + network: runtime_types::xcm::v0::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( + runtime_types::sp_core::bounded::weak_bounded_vec::WeakBoundedVec< + ::core::primitive::u8, + >, + ), + #[codec(index = 7)] + OnlyChild, + #[codec(index = 8)] + Plurality { + id: runtime_types::xcm::v0::junction::BodyId, + part: runtime_types::xcm::v0::junction::BodyPart, + }, + } } pub mod multiasset { use super::runtime_types; @@ -45768,9 +45706,7 @@ pub mod api { #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct MultiAssets( - pub ::std::vec::Vec< - runtime_types::xcm::v1::multiasset::MultiAsset, - >, + pub ::std::vec::Vec, ); #[derive( :: subxt :: ext :: codec :: Decode, @@ -45911,16 +45847,14 @@ pub mod api { DepositAsset { assets: runtime_types::xcm::v1::multiasset::MultiAssetFilter, max_assets: ::core::primitive::u32, - beneficiary: - runtime_types::xcm::v1::multilocation::MultiLocation, + beneficiary: runtime_types::xcm::v1::multilocation::MultiLocation, }, #[codec(index = 2)] DepositReserveAsset { assets: runtime_types::xcm::v1::multiasset::MultiAssetFilter, max_assets: ::core::primitive::u32, dest: runtime_types::xcm::v1::multilocation::MultiLocation, - effects: - ::std::vec::Vec, + effects: ::std::vec::Vec, }, #[codec(index = 3)] ExchangeAsset { @@ -45931,15 +45865,13 @@ pub mod api { InitiateReserveWithdraw { assets: runtime_types::xcm::v1::multiasset::MultiAssetFilter, reserve: runtime_types::xcm::v1::multilocation::MultiLocation, - effects: - ::std::vec::Vec, + effects: ::std::vec::Vec, }, #[codec(index = 5)] InitiateTeleport { assets: runtime_types::xcm::v1::multiasset::MultiAssetFilter, dest: runtime_types::xcm::v1::multilocation::MultiLocation, - effects: - ::std::vec::Vec, + effects: ::std::vec::Vec, }, #[codec(index = 6)] QueryHolding { @@ -46161,13 +46093,9 @@ pub mod api { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v1::multiasset::MultiAssets), #[codec(index = 1)] - ReserveAssetDeposited( - runtime_types::xcm::v1::multiasset::MultiAssets, - ), + ReserveAssetDeposited(runtime_types::xcm::v1::multiasset::MultiAssets), #[codec(index = 2)] - ReceiveTeleportedAsset( - runtime_types::xcm::v1::multiasset::MultiAssets, - ), + ReceiveTeleportedAsset(runtime_types::xcm::v1::multiasset::MultiAssets), #[codec(index = 3)] QueryResponse { #[codec(compact)] diff --git a/testing/integration-tests/src/frame/balances.rs b/testing/integration-tests/src/frame/balances.rs index 747f964437..7ef0217070 100644 --- a/testing/integration-tests/src/frame/balances.rs +++ b/testing/integration-tests/src/frame/balances.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/frame/contracts.rs b/testing/integration-tests/src/frame/contracts.rs index 1a6c3a6e33..63e15287d4 100644 --- a/testing/integration-tests/src/frame/contracts.rs +++ b/testing/integration-tests/src/frame/contracts.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/frame/mod.rs b/testing/integration-tests/src/frame/mod.rs index 7594939430..083c92f4dd 100644 --- a/testing/integration-tests/src/frame/mod.rs +++ b/testing/integration-tests/src/frame/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/frame/staking.rs b/testing/integration-tests/src/frame/staking.rs index fa198c4366..c3e4c338ca 100644 --- a/testing/integration-tests/src/frame/staking.rs +++ b/testing/integration-tests/src/frame/staking.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/frame/sudo.rs b/testing/integration-tests/src/frame/sudo.rs index 257ec46266..82833f0e1e 100644 --- a/testing/integration-tests/src/frame/sudo.rs +++ b/testing/integration-tests/src/frame/sudo.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/frame/system.rs b/testing/integration-tests/src/frame/system.rs index 9c149c5557..246362e1dc 100644 --- a/testing/integration-tests/src/frame/system.rs +++ b/testing/integration-tests/src/frame/system.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/frame/timestamp.rs b/testing/integration-tests/src/frame/timestamp.rs index 115d9f620f..24ac717637 100644 --- a/testing/integration-tests/src/frame/timestamp.rs +++ b/testing/integration-tests/src/frame/timestamp.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/lib.rs b/testing/integration-tests/src/lib.rs index 12f61e5667..38f0c47490 100644 --- a/testing/integration-tests/src/lib.rs +++ b/testing/integration-tests/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/metadata/mod.rs b/testing/integration-tests/src/metadata/mod.rs index dc3a895070..58310ee5da 100644 --- a/testing/integration-tests/src/metadata/mod.rs +++ b/testing/integration-tests/src/metadata/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/metadata/validation.rs b/testing/integration-tests/src/metadata/validation.rs index 1e29f5c74d..015be5e589 100644 --- a/testing/integration-tests/src/metadata/validation.rs +++ b/testing/integration-tests/src/metadata/validation.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/storage/mod.rs b/testing/integration-tests/src/storage/mod.rs index 0c6a5939a8..28f52525a2 100644 --- a/testing/integration-tests/src/storage/mod.rs +++ b/testing/integration-tests/src/storage/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/utils/context.rs b/testing/integration-tests/src/utils/context.rs index 980295269f..f14fff84a1 100644 --- a/testing/integration-tests/src/utils/context.rs +++ b/testing/integration-tests/src/utils/context.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/utils/mod.rs b/testing/integration-tests/src/utils/mod.rs index 5d365d20d5..08a3111da8 100644 --- a/testing/integration-tests/src/utils/mod.rs +++ b/testing/integration-tests/src/utils/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/utils/node_proc.rs b/testing/integration-tests/src/utils/node_proc.rs index 717e99aefd..5bc0c972a7 100644 --- a/testing/integration-tests/src/utils/node_proc.rs +++ b/testing/integration-tests/src/utils/node_proc.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/integration-tests/src/utils/wait_for_blocks.rs b/testing/integration-tests/src/utils/wait_for_blocks.rs index f827c4f06a..39ac5e65ea 100644 --- a/testing/integration-tests/src/utils/wait_for_blocks.rs +++ b/testing/integration-tests/src/utils/wait_for_blocks.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/test-runtime/build.rs b/testing/test-runtime/build.rs index c86bc0e86a..9a9427293c 100644 --- a/testing/test-runtime/build.rs +++ b/testing/test-runtime/build.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/test-runtime/src/lib.rs b/testing/test-runtime/src/lib.rs index c1058e58c3..fb90001dc9 100644 --- a/testing/test-runtime/src/lib.rs +++ b/testing/test-runtime/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/ui-tests/src/correct/generic-params.rs b/testing/ui-tests/src/correct/generic_params.rs similarity index 51% rename from testing/ui-tests/src/correct/generic-params.rs rename to testing/ui-tests/src/correct/generic_params.rs index c81b16dad8..507571f035 100644 --- a/testing/ui-tests/src/correct/generic-params.rs +++ b/testing/ui-tests/src/correct/generic_params.rs @@ -1,7 +1,4 @@ -use core::marker::PhantomData; - use codec::{Decode, Encode}; - use subxt::utils::AccountId32; #[derive(Encode, Decode, subxt::ext::scale_encode::EncodeAsType, subxt::ext::scale_decode::DecodeAsType, Debug)] @@ -17,12 +14,16 @@ pub struct Generic(T); #[derive(Encode, Decode, subxt::ext::scale_encode::EncodeAsType, subxt::ext::scale_decode::DecodeAsType, Debug)] #[encode_as_type(crate_path = "subxt::ext::scale_encode")] #[decode_as_type(crate_path = "subxt::ext::scale_decode")] -pub struct Second(U, PhantomData); +pub struct Second(T, U); + +#[derive(Encode, Decode, Debug)] +pub struct DoesntImplEncodeDecodeAsType(u16); #[subxt::subxt( runtime_metadata_path = "../../../../artifacts/polkadot_metadata.scale", substitute_type( type = "sp_runtime::multiaddress::MultiAddress", + // Discarding both params: with = "crate::CustomAddress" ) )] @@ -32,6 +33,7 @@ pub mod node_runtime {} runtime_metadata_path = "../../../../artifacts/polkadot_metadata.scale", substitute_type( type = "sp_runtime::multiaddress::MultiAddress", + // Discarding second param: with = "crate::Generic" ) )] @@ -41,6 +43,7 @@ pub mod node_runtime2 {} runtime_metadata_path = "../../../../artifacts/polkadot_metadata.scale", substitute_type( type = "sp_runtime::multiaddress::MultiAddress", + // Discarding first param: with = "crate::Generic" ) )] @@ -50,11 +53,52 @@ pub mod node_runtime3 {} runtime_metadata_path = "../../../../artifacts/polkadot_metadata.scale", substitute_type( type = "sp_runtime::multiaddress::MultiAddress", + // Swapping params: with = "crate::Second" ) )] pub mod node_runtime4 {} +#[subxt::subxt( + runtime_metadata_path = "../../../../artifacts/polkadot_metadata.scale", + substitute_type( + type = "sp_runtime::multiaddress::MultiAddress", + // Ignore input params and just use concrete types on output: + with = "crate::Second>" + ) +)] +pub mod node_runtime5 {} + +#[subxt::subxt( + runtime_metadata_path = "../../../../artifacts/polkadot_metadata.scale", + substitute_type( + type = "sp_runtime::multiaddress::MultiAddress", + // We can put a static type in, too: + with = "crate::Second" + ) +)] +pub mod node_runtime6 {} + +#[subxt::subxt( + runtime_metadata_path = "../../../../artifacts/polkadot_metadata.scale", + substitute_type( + type = "sp_runtime::multiaddress::MultiAddress", + // Check that things can be wrapped in our Static type: + with = "::subxt::utils::Static" + ) +)] +pub mod node_runtime7 {} + +#[subxt::subxt( + runtime_metadata_path = "../../../../artifacts/polkadot_metadata.scale", + substitute_type( + type = "sp_runtime::multiaddress::MultiAddress", + // Recursive type param substitution should work too (swapping out nested A and B): + with = "::subxt::utils::Static>" + ) +)] +pub mod node_runtime8 {} + fn main() { // We assume Polkadot's config of MultiAddress here let _ = node_runtime::tx() @@ -71,5 +115,21 @@ fn main() { let _ = node_runtime4::tx() .balances() - .transfer(Second(AccountId32::from([0x01;32]), PhantomData), 123); + .transfer(Second((), AccountId32::from([0x01;32])), 123); + + let _ = node_runtime5::tx() + .balances() + .transfer(Second(true, vec![1u8, 2u8]), 123); + + let _ = node_runtime6::tx() + .balances() + .transfer(Second((), 1234u16), 123); + + let _ = node_runtime7::tx() + .balances() + .transfer(subxt::utils::Static(DoesntImplEncodeDecodeAsType(1337)), 123); + + let _ = node_runtime8::tx() + .balances() + .transfer(subxt::utils::Static(Second(AccountId32::from([0x01;32]), ())), 123); } diff --git a/testing/ui-tests/src/correct/rust-items-preserved.rs b/testing/ui-tests/src/correct/rust_items_preserved.rs similarity index 100% rename from testing/ui-tests/src/correct/rust-items-preserved.rs rename to testing/ui-tests/src/correct/rust_items_preserved.rs diff --git a/testing/ui-tests/src/dispatch_errors.rs b/testing/ui-tests/src/dispatch_errors.rs index e8035c89db..327b50bc1c 100644 --- a/testing/ui-tests/src/dispatch_errors.rs +++ b/testing/ui-tests/src/dispatch_errors.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/ui-tests/src/incorrect/substitute_path_not_absolute.stderr b/testing/ui-tests/src/incorrect/substitute_path_not_absolute.stderr index da5c0b67c9..8dc2631f8f 100644 --- a/testing/ui-tests/src/incorrect/substitute_path_not_absolute.stderr +++ b/testing/ui-tests/src/incorrect/substitute_path_not_absolute.stderr @@ -1,4 +1,4 @@ -error: The substitute path must be a global absolute path; try prefixing with `::` or `crate` +error: Type substitution error: `substitute_type(with = )` must be a path prefixed with 'crate::' or '::' --> src/incorrect/substitute_path_not_absolute.rs:5:16 | 5 | with = "sp_runtime::Perbill" diff --git a/testing/ui-tests/src/lib.rs b/testing/ui-tests/src/lib.rs index d9cee8c3fa..d23ecc0389 100644 --- a/testing/ui-tests/src/lib.rs +++ b/testing/ui-tests/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. #![cfg(test)] diff --git a/testing/ui-tests/src/storage.rs b/testing/ui-tests/src/storage.rs index b6586ffd21..07983521d4 100644 --- a/testing/ui-tests/src/storage.rs +++ b/testing/ui-tests/src/storage.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/ui-tests/src/utils/dispatch_error.rs b/testing/ui-tests/src/utils/dispatch_error.rs index 72b9af0aad..7b81fd4d18 100644 --- a/testing/ui-tests/src/utils/dispatch_error.rs +++ b/testing/ui-tests/src/utils/dispatch_error.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/ui-tests/src/utils/metadata_test_runner.rs b/testing/ui-tests/src/utils/metadata_test_runner.rs index a041c76062..124dd6b8f6 100644 --- a/testing/ui-tests/src/utils/metadata_test_runner.rs +++ b/testing/ui-tests/src/utils/metadata_test_runner.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. diff --git a/testing/ui-tests/src/utils/mod.rs b/testing/ui-tests/src/utils/mod.rs index 7b4a145192..85113f4beb 100644 --- a/testing/ui-tests/src/utils/mod.rs +++ b/testing/ui-tests/src/utils/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2022 Parity Technologies (UK) Ltd. +// Copyright 2019-2023 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details.